From: Junio C Hamano Date: Fri, 26 Oct 2007 23:03:48 GMT Subject: Re: [PATCH 1/7] "git" calls help_unknown_cmd(""); "git help" and "git help -a" return 0 Message-ID: <7v640twka3.fsf@gitster.siamese.dyndns.org> In-Reply-To: <20071025045228.GE759@srparish.net> Scott Parish writes: > That's what i was hoping this patch did. I'm not entirely sure how > its wrong as it seems to work for me. I misread the patch. My mistake. > Regarding "git: '' is not a git-command" the way i was seeing that > is that git is usually only called with commands, and '' isn't a > valid command, hence the reason to exit 1, the help is just a nice > user experience. But think who would type "git". They are either people who (1) do not even know that "git" alone is not useful and that it always wants a subcommand, or (2) know "git" is the same as "git help" and wants to get the "common command list" quickly. Technically, "'' is not a git-command" is correct, but the message does not help either audience, does it?