Always add -daemonwait to known command line arguments

This commit is contained in:
Hennadii Stepanov 2021-03-16 10:48:26 +02:00
parent 8e6532053f
commit 4d008f908e
No known key found for this signature in database
GPG key ID: 410108112E7EA81F

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