Re: [PATCH] Make builtin-reset.c use parse_options.
Pierre Habouzit <madcoder@debian.org> writes:
Show 14 quoted lines
> On Mon, Mar 03, 2008 at 02:07:57PM +0000, Carlos Rica wrote:
>> On Sun, Mar 2, 2008 at 5:18 PM, Junio C Hamano <gitster@pobox.com> wrote:
>> > Although "--h" still favors "--hard" over "--help":
>> >
>> > $ ./git-reset --h
>> > HEAD is now at c149184...
>> >
>>
>> Pierre, is there a way to give preference to --help over --hard
>> when someone uses --h in command line?
>
> The problem is that --help (and --help-all for the matter) are "magic"
> arguments that parse-options is not aware of when it deals with
> abbreviations.
Yeah, I do not know if this really matters in real life, though.