From: Junio C Hamano Date: Wed, 07 Oct 2009 23:07:19 GMT Subject: Re: [PATCH 3/3] completion: add dirstat and friends to diff options Message-ID: <7vmy42pzvc.fsf@alter.siamese.dyndns.org> In-Reply-To: <20091007205059.GA16235@neumann> SZEDER Gábor writes: > On Wed, Oct 07, 2009 at 01:48:51AM -0700, Stephen Boyd wrote: >> + --dirstat --dirstat= --dirstat-by-file >> + --dirstat-by-file= --cumulative > > I'm a bit puzzled by having both --dirstat and --dirstat=, and > --dirstat-by-file and --dirstat-by-file=. How do we complete similar > long options, where an argument and hence the = char is optional? A similar example in "git init" completion (--shared vs --shared=) already exists, no?