[pkg-gnupg-maint] Bug#850475: Addition of --clear-sign alias breaks --clear

Peter Palfrader weasel at debian.org
Fri Jan 6 20:54:28 UTC 2017


Package: gnupg
Version: 2.1.17-2
Severity: normal

gpg's command line parser takes abbreviations for long options as
long as the option is uniquely identified.

So for decades "gpg --clear" has worked as shorthand for "gpg
--clearsign".

Now gpg has gotten a --clear-sign option as an alias for --clearsign,
and this breaks gpg --clear because it's no longer unambigious.

| weasel at orinoco:~$ echo fo | gpg --clear
| gpg: option "--clear" is ambiguous

Maybe you could also add a --clear alias, or maybe teach gpg that
both options that start with --clear are the same, so it is not, in
fact, ambigious.

Thanks for your consideration,
weasel



More information about the pkg-gnupg-maint mailing list