diff options
author | Marcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de> | 2017-07-18 18:08:25 +0200 |
---|---|---|
committer | Marcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de> | 2017-07-18 18:08:25 +0200 |
commit | f17862d47d184d7f6ef883778cf63801365599a0 (patch) | |
tree | aaa3c994a5b616e113ab1037142dcf9a07382aef /tools/symcryptrun.c | |
parent | gpgscm,w32: Fix testing for absolute paths. (diff) | |
download | gnupg2-f17862d47d184d7f6ef883778cf63801365599a0.tar.xz gnupg2-f17862d47d184d7f6ef883778cf63801365599a0.zip |
common: Allow abbreviations of standard options.
* argparse.h (ARGPARSE_SHORTOPT_HELP, ARGPARSE_SHORTOPT_VERSION,
ARGPARSE_SHORTOPT_WARRANTY, ARGPARSE_SHORTOPT_DUMP_OPTIONS): New
macros.
(ARGPARSE_end): Add some placeholders for standard options.
* argparse.c (arg_parse): Fill in missing standard options so
default machinery works. Check for standard options in new way.
Do not write out standard options for --dump-options.
Signed-off-by: Marcus Brinkmann <mb@g10code.com>
GnuPG-bug-id: 1747
Diffstat (limited to 'tools/symcryptrun.c')
0 files changed, 0 insertions, 0 deletions