From: Johannes Schindelin Date: Tue, 22 Jul 2008 20:05:02 GMT Subject: Re: [PATCH] parse-options: fix parsing of "--foobar=" with no value Message-ID: In-Reply-To: <48863436.50309@free.fr> Hi, On Tue, 22 Jul 2008, Olivier Marin wrote: > I would have find it convenient for things like --foobar=$var where foobar > fallback to default when $var is empty. --foobar=${var:-default} will expand to --foobar=default when $var is empty. Hth, Dscho