From: Junio C Hamano Date: Mon, 15 Aug 2016 22:19:50 GMT Subject: Re: [PATCH v2] help: make option --help open man pages only for Git commands Message-ID: In-Reply-To: "Philip Oakley" writes: > The other option is to simply build a guide-list in exactly the same > format as the command list (which if it works can be merged > later). Re-use the existing code, etc. Yeah, that sounds like a good way to go forward. To implement typo correction for "git help ", having guide-list would be very useful. A related tangent is that I think "git --help" shouldn't fall back to "git help ", regardless of typo correction. It happens to "work" only because we blindly turned " --help" to "help " without even checking what is. Making it stop "working" would be a bugfix. And having both command and guide list would be helpful to prevent "git --help" from falling back to "git help ".