From 3a86bdb2aad31835c10b910c4564c73603694430 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 8 Oct 2020 12:07:52 +0200 Subject: doc: Fix typos in comments -- --- src/argparse.c | 2 +- tests/etc/t-argparse.conf | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/argparse.c b/src/argparse.c index 69bafca..308a7dc 100644 --- a/src/argparse.c +++ b/src/argparse.c @@ -764,7 +764,7 @@ handle_meta_ignore (gpgrt_argparse_t *arg, unsigned int alternate, char *args) } -/* Implementation of the "ignore" command. ARG is the context. If +/* Implementation of the "echo" command. ARG is the context. If * ALTERNATE is true the filename is not printed. ARGS is the string * to log. */ static int diff --git a/tests/etc/t-argparse.conf b/tests/etc/t-argparse.conf index 863f74e..f2db907 100644 --- a/tests/etc/t-argparse.conf +++ b/tests/etc/t-argparse.conf @@ -4,9 +4,8 @@ #verbose -# The meta command echo simply prints the argument. With a hash -# prefix it does not prepend the file name and line number. For -# future compatibility do not use doallar signs. +# The meta command echo simply prints the argument. With a dash +# prefix it does not prepend the file name and line number. [-echo Begin global config] [-echo use $${user} to echo the current user (${user})] @@ -41,7 +40,7 @@ verbose [-force] not-my-option -# The next shall raise an error due to the garpage at the end. +# If uncommented The next shall raise an error due to the garbage at the end. #[+ignore] fooo -- cgit v1.2.3