From: Junio C Hamano Date: Sun, 02 Mar 2008 16:18:57 GMT Subject: Re: [PATCH] Make builtin-reset.c use parse_options. Message-ID: <7vbq5xqetq.fsf@gitster.siamese.dyndns.org> In-Reply-To: <1b46aba20803020437p2a5128a5wfee3e98c32c1a610@mail.gmail.com> "Carlos Rica" writes: > On Sun, Mar 2, 2008 at 3:53 AM, Junio C Hamano wrote: >> Carlos Rica writes: >> >> > Signed-off-by: Carlos Rica >> >> Hmmm. "git reset -h" now defaults to --hard? >> >> It somehow feels a bit risky for new people. I dunno. > > I don't understand what do you mean. > > Option -h just prints the options and exits. > Do you mean that the help message is wrong? I guess I mistested when I first ran it. "-h" is Ok. $ ./git-reset -h usage: git-reset ... Although "--h" still favors "--hard" over "--help": $ ./git-reset --h HEAD is now at c149184...