diff options
| author | lpescher <[email protected]> | 2015-05-19 22:14:35 -0600 |
|---|---|---|
| committer | lpescher <[email protected]> | 2015-05-19 22:14:35 -0600 |
| commit | cb873862411e2e40aea8225ee85ce710958024dd (patch) | |
| tree | 74e569df7bbf464bc032faf078c2118927e15da0 /src/util.cpp | |
| parent | doc: Add historical release notes for 0.10.1 0.10.2 0.9.4 (diff) | |
| download | discoin-cb873862411e2e40aea8225ee85ce710958024dd.tar.xz discoin-cb873862411e2e40aea8225ee85ce710958024dd.zip | |
Make command line option to show all debugging consistent with similar options
Most people expect a value of 1 to enable all for command line arguments.
However to do this for the -debug option you must type "-debug=".
This has been changed to allow "-debug=1" as well as "-debug=" to
enable all debug logging
Diffstat (limited to 'src/util.cpp')
| -rw-r--r-- | src/util.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.cpp b/src/util.cpp index bfb95c904..33b5ee950 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -208,6 +208,7 @@ bool LogAcceptCategory(const char* category) // if not debugging everything and not debugging specific category, LogPrint does nothing. if (setCategories.count(string("")) == 0 && + setCategories.count(string("1")) == 0 && setCategories.count(string(category)) == 0) return false; } |