Always add -daemonwait to known command line arguments

pull/826/head
Hennadii Stepanov 4 years ago
parent 8e6532053f
commit 4d008f908e
No known key found for this signature in database
GPG Key ID: 410108112E7EA81F

@ -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

Loading…
Cancel
Save