aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2014-09-25 07:47:28 +0000
committerWerner Koch <[email protected]>2014-09-29 09:29:52 +0000
commitad30b2a4ae06a51f747bbd8a3c0985333295f8c6 (patch)
tree23ffff18725412a986189859503fb91ca9095dd7
parentmpi: Improve mpi_invm to detect bad input. (diff)
downloadgnupg-ad30b2a4ae06a51f747bbd8a3c0985333295f8c6.tar.gz
gnupg-ad30b2a4ae06a51f747bbd8a3c0985333295f8c6.zip
Allow use of --debug-level=LEVEL without '='.
* g10/gpg.c (opts): Fix "debug-level".
-rw-r--r--NEWS2
-rw-r--r--g10/gpg.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 5e12a863c..6fb00cdee 100644
--- a/NEWS
+++ b/NEWS
@@ -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)
-------------------------------------------------
diff --git a/g10/gpg.c b/g10/gpg.c
index dbf2f40c5..1b0a364d8 100644
--- a/g10/gpg.c
+++ b/g10/gpg.c
@@ -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, "@" },