Re: [PATCH 1/6] gitopt: a new command-line option parser for git
- From
- Timo Hirvonen <tihirvon@gmail.com>
- Date
- May 9, 2006, 21:31 UTC
- Message-ID
- <20060510003141.0d0820ed.tihirvon@gmail.com>
- In-Reply-To
- <7v7j4u3nv8.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio@cox.net> wrote:
Show 6 quoted lines
> Timo Hirvonen <tihirvon@gmail.com> writes: > > > Better to support only -x=y or -x y, not both. > > Didn't I just say -x=y where x is a single letter _is_ odd? > It is either -xy or -x y, not -x=y.
Oh, I thought parameters would use same syntax for short and long options. For optional args -C2 would make sense but -C 2 would be ambiguous ("-C -- 2" or "-C2"?). Maybe I'm just too drunk to understand.
-- http://onion.dynserv.net/~timo/