1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-05-31 22:18:03 +02:00
gnupg/util
Werner Koch 8044a5acea Add meta option ignore-invalid-option.
* util/argparse.c (iio_item_def_s, IIO_ITEM_DEF): New.
(initialize): Init field IIO_LIST.
(ignore_invalid_option_p): New.
(ignore_invalid_option_add): New.
(ignore_invalid_option_clear): New.
(optfile_parse): Implement meta option.
--

This option is currently of no use.  However, as soon as it has been
deployed in all stable versions of GnuPG, it will allow the use of the
same configuration file with an old and a new version of GnuPG.  For
example: If a new version implements the option "foobar", and a user
uses it in gpg.conf, an old version of gpg would bail out with the
error "invalid option".  To avoid that the following line can be put
above that option in gpg.conf

  ignore-invalid-option foobar

This meta option may be given several times or several option names
may be given as arguments (space delimited).  Note that this option is
not available on the command line.

(backported from commit 41d564333d)
2012-12-18 18:26:56 +01:00
..
argparse.c Add meta option ignore-invalid-option. 2012-12-18 18:26:56 +01:00
assuan-buffer.c Switched to GPLv3. 2007-10-23 10:48:09 +00:00
assuan-client.c Switched to GPLv3. 2007-10-23 10:48:09 +00:00
assuan-connect.c Switched to GPLv3. 2007-10-23 10:48:09 +00:00
assuan-defs.h Switched to GPLv3. 2007-10-23 10:48:09 +00:00
assuan-errors.c Switched to GPLv3. 2007-10-23 10:48:09 +00:00
assuan-logging.c Switched to GPLv3. 2007-10-23 10:48:09 +00:00
assuan-socket-connect.c Switched to GPLv3. 2007-10-23 10:48:09 +00:00
assuan-socket.c Switched to GPLv3. 2007-10-23 10:48:09 +00:00
assuan-util.c Comment typ fixes. 2007-12-03 14:41:38 +00:00
cert.c The rest of the VMS changes. 2010-09-28 15:55:24 +00:00
ChangeLog-2011 Rename all ChangeLog files to ChangeLog-2011. 2011-12-02 19:42:56 +01:00
compat.c Restructured the compat functions and changed its license. 2009-08-25 20:00:24 +00:00
convert.c First set of changes to backport the new card code from 2.0. 2009-07-21 14:30:13 +00:00
dotlock.c Replace file locking by the new portable dotlock code. 2012-01-10 15:16:44 +01:00
errors.c Switched to GPLv3. 2007-10-23 10:48:09 +00:00
estream-printf.c Use gcc pragmas to suppress some warnings. 2012-01-10 11:31:00 +01:00
fileutil.c Switched to GPLv3. 2007-10-23 10:48:09 +00:00
http.c Avoid caches to get the most recent copy of the key. This is bug 2009-05-26 14:15:56 +00:00
iobuf.c Minor changes to help the VMS port 2010-09-28 10:07:30 +00:00
isascii.c Switched to GPLv3. 2007-10-23 10:48:09 +00:00
logger.c The rest of the VMS changes. 2010-09-28 15:55:24 +00:00
Makefile.am First set of changes to backport the new card code from 2.0. 2009-07-21 14:30:13 +00:00
membuf.c Fix potential heap corruption in "gpg -v --version" 2012-12-15 11:28:00 +01:00
memory.c First set of changes to backport the new card code from 2.0. 2009-07-21 14:30:13 +00:00
memrchr.c Switched to GPLv3. 2007-10-23 10:48:09 +00:00
miscutil.c Allow building with the 32 bit mingw-w64 toolchain. 2012-01-12 18:10:30 +01:00
mkdtemp.c Switched to GPLv3. 2007-10-23 10:48:09 +00:00
pka.c Removed some set but unused vars. 2011-08-09 10:54:22 +02:00
regcomp.c Switched to GPLv3. 2007-10-23 10:48:09 +00:00
regex_internal.c Switched to GPLv3. 2007-10-23 10:48:09 +00:00
regex_internal.h Switched to GPLv3. 2007-10-23 10:48:09 +00:00
regex.c Switched to GPLv3. 2007-10-23 10:48:09 +00:00
regexec.c Switched to GPLv3. 2007-10-23 10:48:09 +00:00
riscos.c Switched to GPLv3. 2007-10-23 10:48:09 +00:00
secmem.c Fix typos spotted during translations 2012-08-24 16:37:44 +02:00
simple-gettext.c Switched to GPLv3. 2007-10-23 10:48:09 +00:00
srv.c The rest of the VMS changes. 2010-09-28 15:55:24 +00:00
strgutil.c Fix a W32 problem 2009-09-03 15:27:30 +00:00
strsep.c * strsep.c (strsep): It's strsep, not strsep2 from testing. (If I had 2006-10-03 00:36:18 +00:00
timegm.c Switched to GPLv3. 2007-10-23 10:48:09 +00:00
ttyio.c On VMS use --batch by default if in batch mode. 2011-09-12 15:28:28 +02:00
w32reg.c Switched to GPLv3. 2007-10-23 10:48:09 +00:00