From ad30b2a4ae06a51f747bbd8a3c0985333295f8c6 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 25 Sep 2014 09:47:28 +0200 Subject: Allow use of --debug-level=LEVEL without '='. * g10/gpg.c (opts): Fix "debug-level". --- NEWS | 2 ++ g10/gpg.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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, "@" }, -- cgit v1.2.3