Home GnuPG
Diffusion GPGME f0ccce855bd9

gpgme-tool: Switch to argparse.c for option parsing.
f0ccce855bd9Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

gpgme-tool: Switch to argparse.c for option parsing.

* src/argparse.c, src/argparse.h: New. Taken from current gnupg.
* src/Makefile.am (gpgme_tool_SOURCES): New.
* src/gpgme-tool.c: Remove all argp.h stuff.
(my_strusage): New.
(main): Change to use argparse.

As a GnuPG related tool the user should get the same experience in
option parsing as with gpg et al. Thus we use the same parser.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Aug 31 2015, 8:33 PM
Parents
rMc4b6b35bfa98: Add gpgme_pubkey_algo_string
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rMf0ccce855bd9: gpgme-tool: Switch to argparse.c for option parsing. (authored by Werner Koch <wk@gnupg.org>).Aug 31 2015, 8:34 PM