1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-21 14:47:03 +01:00
Daniel Kahn Gillmor 7249ab0f95 common: Avoid unnecessary ambiguity in argparse.
* common/argparse.c (find_long_option): Avoid unnecessary ambiguity.
--

If two struct ARGPARSE_OPTS share a prefix in their long_opt name, but
have the exact same short_opt and flags, they are aliases and not
distinct options.  Avoid reporting this as an ambiguity, so that (for
example) both --clearsign and --clear-sign can be invoked as --clear.

Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Debian-Bug-Id: 850475
2017-01-11 02:32:20 -05:00
..
2016-11-08 16:01:53 +01:00
2015-10-28 10:20:17 +01:00
2015-11-17 12:50:22 +01:00
2017-01-10 12:31:46 +01:00
2017-01-10 12:31:46 +01:00
2016-03-02 14:27:30 +01:00
2017-01-05 20:43:40 +01:00
2015-02-03 09:12:45 +01:00

Common functionality used by all modules of GnuPG.