aboutsummaryrefslogtreecommitdiff
path: root/src/init
diff options
context:
space:
mode:
authorjonatack <jon@atack.com>2023-01-23 10:34:00 -0800
committerJon Atack <jon@atack.com>2023-03-07 09:33:02 -0800
commit8c47d599b87d6b2d43e7d37ce0aaf4f541535bb9 (patch)
tree0a307e4ab38d558fcd873688876beb80d71e733d /src/init
parent20d89d6802b67e2b8c864bedf23673d008e3faab (diff)
downloadbitcoin-8c47d599b87d6b2d43e7d37ce0aaf4f541535bb9.tar.xz
doc: improve -debuglogfile help to be a bit clearer
Diffstat (limited to 'src/init')
-rw-r--r--src/init/common.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init/common.cpp b/src/init/common.cpp
index e1a37d7db9..fa065d221f 100644
--- a/src/init/common.cpp
+++ b/src/init/common.cpp
@@ -23,7 +23,7 @@
namespace init {
void AddLoggingArgs(ArgsManager& argsman)
{
- argsman.AddArg("-debuglogfile=<file>", strprintf("Specify location of debug log file. Relative paths will be prefixed by a net-specific datadir location. (-nodebuglogfile to disable; default: %s)", DEFAULT_DEBUGLOGFILE), ArgsManager::ALLOW_ANY, OptionsCategory::OPTIONS);
+ argsman.AddArg("-debuglogfile=<file>", strprintf("Specify location of debug log file (default: %s). Relative paths will be prefixed by a net-specific datadir location. Pass -nodebuglogfile to disable writing the log to a file.", DEFAULT_DEBUGLOGFILE), ArgsManager::ALLOW_ANY, OptionsCategory::OPTIONS);
argsman.AddArg("-debug=<category>", "Output debug and trace logging (default: -nodebug, supplying <category> is optional). "
"If <category> is not supplied or if <category> = 1, output all debug and trace logging. <category> can be: " + LogInstance().LogCategoriesString() + ". This option can be specified multiple times to output multiple categories.",
ArgsManager::ALLOW_ANY, OptionsCategory::DEBUG_TEST);