Re: [PATCH] Make builtin-reset.c use parse_options.
"Carlos Rica" <jasampler@gmail.com> writes:
Show 13 quoted lines
> On Sun, Mar 2, 2008 at 3:53 AM, Junio C Hamano <gitster@pobox.com> wrote:
>> Carlos Rica <jasampler@gmail.com> writes:
>>
>> > Signed-off-by: Carlos Rica <jasampler@gmail.com>
>>
>> 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...