mirror of
git://git.gnupg.org/gnupg.git
synced 2025-04-17 15:44:34 +02:00
gpg: Set --verbose and clear --quiet in debug mode.
* g10/gpg.c (set_debug): Tweak options. --
This commit is contained in:
parent
2331900d1c
commit
d426ed66ac
@ -1315,6 +1315,12 @@ set_debug (const char *level)
|
||||
|
||||
if (opt.debug)
|
||||
parse_debug_flag (NULL, &opt.debug, debug_flags);
|
||||
|
||||
/* Make sure that we are --verbose in debug mode. */
|
||||
if (opt.debug && !opt.verbose)
|
||||
opt.verbose = 1;
|
||||
if (opt.debug && opt.quiet)
|
||||
opt.quiet = 0;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user