From 2f169b341e410924c5d7ee7d76ac67f85f26ed6a Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 26 Feb 2020 15:36:28 +0100 Subject: core: Add meta command handler stubs to argparse.c. * src/argparse.c (handle_meta_user): New stub. (handle_meta_force): New stub. (handle_meta_ignore): New stub. (handle_meta_echo): New. (handle_metacmd): New. (_gpgrt_argparse): Call meta command handler. -- GnuPG-bug-id: 4788 Signed-off-by: Werner Koch --- tests/etc/t-argparse.conf | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests') diff --git a/tests/etc/t-argparse.conf b/tests/etc/t-argparse.conf index 0852e71..c556466 100644 --- a/tests/etc/t-argparse.conf +++ b/tests/etc/t-argparse.conf @@ -3,6 +3,8 @@ # Options applied to all user's config files #verbose +[echo Begin global config] + [group :staff] # These option are applied to all users of the group staff up until # the next [group] or [user] statement. @@ -52,3 +54,5 @@ my-option 42 # The default algorithm for new keys is set to this. a-long-option + +[echo End global config] -- cgit