When using a program as a subcommand in git (as in git global) git will intercept all calls to --help, and attempt to display its own help message. For that it attempts to fetch the corresponding manpage.
Due to git-global not providing its own manpage at the moment, all calls to help will fail:
$ git global --help
No manual entry for git-global
A current work around is to call git global directly with git-global --help which gives the expected help page, but its still a gotcha that requires retyping the command "just" for the help page.
A simple solution would be to have a subcommand that spits out the manpage for the user to put where its discovered properly by man.
When using a program as a subcommand in git (as in
git global) git will intercept all calls to--help, and attempt to display its own help message. For that it attempts to fetch the corresponding manpage.Due to git-global not providing its own manpage at the moment, all calls to help will fail:
A current work around is to call git global directly with
git-global --helpwhich gives the expected help page, but its still a gotcha that requires retyping the command "just" for the help page.A simple solution would be to have a subcommand that spits out the manpage for the user to put where its discovered properly by man.