aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/argparse.c2
-rw-r--r--tests/etc/t-argparse.conf7
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.
#<off>[+ignore] fooo