Closed majecty closed 4 years ago
git trim --help
is internally converted to git help trim
according to the reference (https://git-scm.com/docs/git-help), so I can't control it. git
controls it. And it seems to require a man page. I haven't published it with cargo. Would you like to contribute to it?
I found git-extras has manual pages for its commands. I'll check it. https://github.com/tj/git-extras
It seems that we can't automatically install man pages using the cargo install
.
The ripgrep has manpage. cargo install
does not install man page. apt install ripgrep
installs manpage.
The ripgrep team also distributes the man page with static binary.
https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#does-ripgrep-have-a-man-page
Now it builds documents (https://github.com/foriequal0/git-trim/pull/87), and homebrew formulae correctly install man files.
git-trim --help
shows a help message.git trim --help
does not show the help message.