Home GnuPG

core: Some fixes for the new option/argument parser

Description

core: Some fixes for the new option/argument parser

* src/argparse.c (ARGPARSE_FLAG__INITIALIZED): New.
(initialize): Use a flag bit to track the initialization state.
(_gpgrt_argparser): Clear some state on switching files.

Details

Provenance
wernerAuthored on Feb 19 2020, 7:04 PM
Parents
rE933eb9346a84: core: Add a high level option/argument parser.
Branches
Unknown
Tags
Unknown