Always add -daemonwait to known command line arguments

This commit is contained in:
Hennadii Stepanov committed 2021-03-16 10:48:26 +02:00
1 parent 8e6532053f
commit 4d008f908e
1 file changed
+1
+1
View File
@@ -585,6 +585,7 @@ void SetupServerArgs(NodeContext& node)
argsman.AddArg("-daemonwait", strprintf("Wait for initialization to be finished before exiting. This implies -daemon (default: %d)", DEFAULT_DAEMONWAIT), ArgsManager::ALLOW_BOOL, OptionsCategory::OPTIONS);
#else
hidden_args.emplace_back("-daemon");
hidden_args.emplace_back("-daemonwait");
#endif
// Add the hidden options