1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
Werner Koch de01c51ecb Print warning for arguments not considered an option.
GnuPG requires that options are given before other arguments.  This
can sometimes be confusing.  We now print a warning if we found an
argument looking alike a long option without being preceded by the
stop option.  This is bug#1343.

* common/argparse.h (ARGPARSE_FLAG_STOP_SEEN): New.
* common/argparse.c (arg_parse): Set new flag.
* g10/gpg.c (main): Print the warning.
* agent/gpg-agent.c (main): Ditto.
* dirmngr/dirmngr.c (main): Ditto.
* g13/g13.c (main): Ditto.
* scd/scdaemon.c (main): Ditto.
* sm/gpgsm.c (main): Ditto.
* tools/gpg-connect-agent.c (main): Ditto.
* tools/gpgconf.c (main): Ditto.
2012-03-27 12:38:49 +02:00
..
2011-03-03 12:40:54 +01:00
2011-02-08 21:11:19 +01:00
2011-03-08 12:23:59 +01:00
2011-02-04 12:57:53 +01:00
2011-04-28 10:51:14 +02:00
2011-02-04 12:57:53 +01:00
2007-07-04 19:49:40 +00:00
2011-09-20 19:24:52 +02:00
2011-02-04 12:57:53 +01:00
2011-08-10 14:11:30 +02:00
2011-03-03 13:01:03 +01:00
2012-03-26 15:52:15 +02:00
2012-01-11 20:15:47 +01:00
2011-09-20 19:24:52 +02:00
2011-12-15 17:00:40 -05:00
2011-09-20 19:24:52 +02:00
2011-06-13 14:54:40 +02:00
2011-09-20 19:24:52 +02:00
2008-12-12 08:54:50 +00:00
2011-06-01 21:43:30 +02:00
2011-08-10 14:11:30 +02:00
2011-09-20 19:24:52 +02:00