Re: Suggestion: "man git clone"
From: Mikael Magnusson <hidden>
Date: 2016-06-15 22:45:12
2008/8/22 Michael J Gruber [off-list ref]:
H. Peter Anvin venit, vidit, dixit 21.08.2008 02:11:quoted
Given the recent change of "git-foo" to "git foo", it would be really nice if one could type, for example: man git clone and actually get the man page for the git clone command. There are quite a few other pieces of software which also could benefit from that kind of indirection. Right now the above command shows the man page git(1) followed by clone(2), which I believe has be classified as utterly useless behaviour...The discussion seems to show that altering man and relying on the new behaviour is no option, and neither is playing games with man's section options. How about: - Change all references in the help pages (gitlinks) accordingly.
I think that would break navigating man pages in any man reader... Most of them detect and handle "foo(N)" magically and let you click on it. -- Mikael Magnusson