1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-21 14:47:03 +01:00

Allow use of --debug-level=LEVEL without '='.

* g10/gpg.c (opts): Fix "debug-level".
This commit is contained in:
Werner Koch 2014-09-25 09:47:28 +02:00
parent cd53cdbc37
commit ad30b2a4ae
2 changed files with 3 additions and 1 deletions

2
NEWS
View File

@ -1,6 +1,8 @@
Noteworthy changes in version 1.4.19 (unreleased)
-------------------------------------------------
* Fix argument parsing for option --debug-level.
Noteworthy changes in version 1.4.18 (2014-06-30)
-------------------------------------------------

View File

@ -518,7 +518,7 @@ static ARGPARSE_OPTS opts[] = {
{ oOptions, "options", 2, "@"},
{ oDebug, "debug" ,4|16, "@"},
{ oDebugAll, "debug-all" ,0, "@"},
{ oDebugLevel, "debug-level" ,0, "@"},
{ oDebugLevel, "debug-level" ,2, "@"},
{ oStatusFD, "status-fd" ,1, "@"},
{ oStatusFile, "status-file" ,2, "@"},
{ oAttributeFD, "attribute-fd" ,1, "@" },