json: Use gpgrt_argparse instead of argsparse.c
authorWerner Koch <wk@gnupg.org>
Wed, 21 Mar 2018 18:26:03 +0000 (19:26 +0100)
committerWerner Koch <wk@gnupg.org>
Wed, 21 Mar 2018 18:26:03 +0000 (19:26 +0100)
commite14f1f687ff618716ed17e309a0475df95e1c0aa
treebd34212967c8e18c576e1892b9846d23a9e7499f
parent6073789a6d3514263404c93fa795a398bfd93d91
json: Use gpgrt_argparse instead of argsparse.c

* src/gpgme-json.c: Remove header argparse.h.  Define
GPGRT_ENABLE_ARGPARSE_MACROS.
(interactive_repl): Replace strusage by gpgrt_strusage.
(my_strusage): Add SPDX level.
(main): Switch to gpgrt_argparse stuff but keep very limited
functionality when building with an older libgpg-error.

Signed-off-by: Werner Koch <wk@gnupg.org>
src/Makefile.am
src/gpgme-json.c