diff options
Diffstat (limited to '')
-rw-r--r-- | tools/gpgtar.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/gpgtar.c b/tools/gpgtar.c index b6dd5e10a..d71fe035a 100644 --- a/tools/gpgtar.c +++ b/tools/gpgtar.c @@ -227,6 +227,16 @@ main (int argc, char **argv) if (log_get_errorcount (0)) exit (2); + /* Print a warning if an argument looks like an option. */ + if (!opt.quiet && !(pargs.flags & ARGPARSE_FLAG_STOP_SEEN)) + { + int i; + + for (i=0; i < argc; i++) + if (argv[i][0] == '-' && argv[i][1] == '-') + log_info (_("NOTE: `%s' is not considered an option\n"), argv[i]); + } + switch (cmd) { case aList: |