diff options
author | Werner Koch <[email protected]> | 2020-12-18 15:49:06 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2020-12-18 15:51:00 +0000 |
commit | 4b09c8c2023d52b97be6069c20897ebfb25f9bca (patch) | |
tree | 4a3e51772ce330b09aff9b72e433babd3d4c3be1 /tests/t-common.h | |
parent | build: Use AC_CHECK_TOOL to detect objdump for cross build. (diff) | |
download | libgpg-error-4b09c8c2023d52b97be6069c20897ebfb25f9bca.tar.gz libgpg-error-4b09c8c2023d52b97be6069c20897ebfb25f9bca.zip |
core: Fix the "ignore" meta command of the argparser.
* src/argparse.c (_gpgrt_argparse): Factor some code out to ...
(prepare_arg_return): new.
(_gpgrt_argparse): No missing arg error in ignore sections.
--
Options in an [ignore] section do not anymore lead to an error if an
argument is missing. However, if the option is also in a force
section the error is thrown.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'tests/t-common.h')
0 files changed, 0 insertions, 0 deletions