On Thu, Nov 22, 2012 at 11:11 PM, Eric S. Raymond <esr@xxxxxxxxxxx> wrote: > Shawn Pearce <spearce@xxxxxxxxxxx>: >> [Lots of helpful stuff ended by] >> > 4. How does "git help" work? That is, how is a subcommand expected >> > to know when it is being called to export its help text? >> >> IIRC "git help foo" runs "man git-foo". > > OK, that makes sense. "git help" can also launch a browser to display the HTML version of the man page. It is looking for man pages and HTML docs in the paths given by "git --man-path" and "git --html-path". Cheers, Christian. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html