Home GnuPG

core: Improve the echo and info meta commands of the arg parser

Description

core: Improve the echo and info meta commands of the arg parser

* src/argparse.c (handle_meta_echo): Substitue some vars.
(handle_meta_user): Factor some code out to ...
(assure_username): new.

Yeah, that is not really needed but might sometimes be helpful.

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

Details

Provenance
wernerAuthored on Apr 3 2020, 10:49 PM
Parents
rEef07aedc7099: core: Implement meta command [user] also for Windows
Branches
Unknown
Tags
Unknown