diff options
| author | Wladimir J. van der Laan <[email protected]> | 2018-09-12 15:01:58 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2018-09-13 07:57:13 +0200 |
| commit | d0b1cee1fe95eba7b968bed2c33ab681d169c91f (patch) | |
| tree | dab8b99dfc690c80399de773059646090f1d73a2 /src/util.cpp | |
| parent | Merge #13886: utils: run commands using utf-8 string on Windows (diff) | |
| download | discoin-d0b1cee1fe95eba7b968bed2c33ab681d169c91f.tar.xz discoin-d0b1cee1fe95eba7b968bed2c33ab681d169c91f.zip | |
doc: `-help-debug` implies `-help`
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.
(ok, so apparently the original reason that -help-debug is an option is
to show debug options in the GUI option overview? that seems very
unlikely to ever be used, if someone wants to add a way to show debug
options in the GUI it'd be better to have a check box)
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 20bdc5d0d..6331dc211 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; |