diff options
| author | Andrew Chow <[email protected]> | 2018-06-11 14:23:13 -0700 |
|---|---|---|
| committer | Andrew Chow <[email protected]> | 2018-06-12 14:33:35 -0700 |
| commit | c2dfbb4a97513557fe923b7810ea8639c320fefd (patch) | |
| tree | d8cb0e73ee160938f7d5cead7b86ee25753a27b9 /src/bitcoind.cpp | |
| parent | Merge #13230: Simplify include analysis by enforcing the developer guide's in... (diff) | |
| download | discoin-c2dfbb4a97513557fe923b7810ea8639c320fefd.tar.xz discoin-c2dfbb4a97513557fe923b7810ea8639c320fefd.zip | |
Add unavailable options to hidden options category
Options that are not available (but known in the source code) will
cause an error if they are specified.
Make these options "available" by adding them to the hidden options
category to prevent conf files from failing when shared between binaries
that have different options available.
Diffstat (limited to 'src/bitcoind.cpp')
| -rw-r--r-- | src/bitcoind.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/bitcoind.cpp b/src/bitcoind.cpp index a9b952e5a..4b9abb2a1 100644 --- a/src/bitcoind.cpp +++ b/src/bitcoind.cpp @@ -62,9 +62,6 @@ static bool AppInit(int argc, char* argv[]) // // If Qt is used, parameters/bitcoin.conf are parsed in qt/bitcoin.cpp's main() SetupServerArgs(); -#if HAVE_DECL_DAEMON - gArgs.AddArg("-daemon", "Run in the background as a daemon and accept commands", false, OptionsCategory::OPTIONS); -#endif std::string error; if (!gArgs.ParseParameters(argc, argv, error)) { fprintf(stderr, "Error parsing command line arguments: %s\n", error.c_str()); |