bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] git-version-gen: allow empty string as --prefix


From: Bruno Haible
Subject: Re: [PATCH] git-version-gen: allow empty string as --prefix
Date: Sat, 11 Feb 2017 19:01:12 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-62-generic; KDE/5.18.0; x86_64; ; )

Hi,

Sami Kerola wrote:
> There are projects that try use this script, but do not have convention to
> use 'v' in front of tags.  Earlier one had to change script default not to
> include 'v'.  After this change the --prefix option can be used as last
> argument without options

In most cases, long options can be passed to programs in any order. If it's not
possible, it's surprising.

Why would this be better than to pass an empty argument explicitly?
I mean, in shell syntax:
   --prefix ''

The other idea is to allow a --prefix=VALUE syntax; this can accommodate an
empty value without effort:
   --prefix=

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]