Re: [PATCH] git-rebase.sh: Update USAGE string (No. 1)
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 4, 2008, 00:24 UTC
- Message-ID
- <7vodaxpo0i.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <m3lk6161jo.fsf@localhost.localdomain>
Jakub Narebski <jnareb@gmail.com> writes:
> Besides here the mutually exclusive options are naturelly delimited, > so you can say just (I think): > [--whitespace=nowarn|warn|error|error-all|strip]
I think that is probably the right thing to do in this case. It is clear where the alternatives end, without adding extra grouping, so it keeps the description easy to read.
It may fail with a sick reader who would complain "but 'git rebase --whitespace=nowarn' is correct while 'git rebase warn' is not!", but personally I do not think we deeply care about pleasing such a pedantic nitpicker.