Home GnuPG

tools: Use gpgrt_argparse for the gpg-error tool.

Description

tools: Use gpgrt_argparse for the gpg-error tool.

* src/gpg-error.c (show_usage): Remove.
(my_strusage): New.
(main): Change to use argparse.  Also use log_error.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Mar 21 2018, 6:36 PM
Parents
rEed78ef7f0664: core: Add public function gpgrt_usage.
Branches
Unknown
Tags
Unknown