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
..
2010-12-14 19:17:58 +00:00
2012-01-25 14:50:47 +01:00
2012-01-25 14:50:47 +01:00
2010-07-23 16:16:14 +00:00
2010-06-09 16:53:51 +00:00
2012-01-25 14:50:47 +01:00
2012-01-25 14:50:47 +01:00
2011-02-04 12:57:53 +01:00
2011-02-04 12:57:53 +01:00
2010-06-09 16:53:51 +00:00
2011-02-04 12:57:53 +01:00
2010-06-09 16:53:51 +00:00