From: Junio C Hamano Date: Thu, 13 Dec 2007 19:49:24 GMT Subject: Re: [RFH] convert shortlog to use parse_options Message-ID: <7vve721ikb.fsf@gitster.siamese.dyndns.org> In-Reply-To: <20071213180701.GF1224@artemis.madism.org> Pierre Habouzit writes: > The other issue is that when you had --abbrev=foo or --abbrev foo, the > first one has to generate an error, whereas the second one should just > say "foo" is not for me. The point being that the callback is not really > aware of how the argument got assigned to it. That obviously needs to be fixed ("this is the next token that could be yours" vs "this must be yours"), if we were to go the route I suggested.