Description
In a *nix environment with bash as the interpreter, when one runs git help <command>
(or git command --help
), it outputs what looks to be a man page. It would come handy if the output used a pager (such as less
), instead of concatenating the output to the console.
git for instance uses a pager but allows customizing it via the GIT_PAGER
environment variable, falling back to PAGER
and then to less
.
I also realize the probably intended purpose of serge help <command>
is to open up a web browser with the local HTML docs for the given command. That might make sense in a Windows environment, although for *nix and server environments this is not definitely what one would expect. Maybe a flag can be added to try to trigger opening the docs in a browser.