diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-09-13 11:56:35 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-09-13 12:00:36 +0200 |
commit | 477f258755265ce49bd56dfbd574616e2cd45584 (patch) | |
tree | 764a44ceb201bcd9ace1623fb2bcf96811064303 /src/util.cpp | |
parent | 81b3f3c7a3d4e68db6587d5be91c54135ffaa176 (diff) | |
parent | d0b1cee1fe95eba7b968bed2c33ab681d169c91f (diff) |
Merge #14207: doc: `-help-debug` implies `-help`
d0b1cee1fe95eba7b968bed2c33ab681d169c91f doc: `-help-debug` implies `-help` (Wladimir J. van der Laan)
Pull request description:
I don't understand why `-help-debug` would be useful without requesting the help, and I've made this particular mistake one time too many.
Tree-SHA512: 370eab368d672fc09e66fcc440db3cb7e4c70c2988aab506cdc3f3e234c27c8f0fc7512c9cf86606ac43f5c6023b3618b7b0302b4b6e289b388559ba8010f27a
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp index 20bdc5d0d8..6331dc2111 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -660,7 +660,7 @@ std::string ArgsManager::GetHelpMessage() const bool HelpRequested(const ArgsManager& args) { - return args.IsArgSet("-?") || args.IsArgSet("-h") || args.IsArgSet("-help"); + return args.IsArgSet("-?") || args.IsArgSet("-h") || args.IsArgSet("-help") || args.IsArgSet("-help-debug"); } static const int screenWidth = 79; |