foriequal0 / git-trim

Automatically trims your branches whose tracking remote refs are merged or stray
MIT License
492 stars 14 forks source link

git trim --help does not show help message #25

Closed majecty closed 4 years ago

majecty commented 4 years ago

git-trim --help shows a help message. git trim --help does not show the help message.

foriequal0 commented 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?

majecty commented 4 years ago

I found git-extras has manual pages for its commands. I'll check it. https://github.com/tj/git-extras

majecty commented 4 years ago

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

foriequal0 commented 4 years ago

Now it builds documents (https://github.com/foriequal0/git-trim/pull/87), and homebrew formulae correctly install man files.