diff options
| author | Sjors Provoost <[email protected]> | 2019-07-05 18:30:15 +0200 |
|---|---|---|
| committer | Sjors Provoost <[email protected]> | 2019-07-05 18:32:05 +0200 |
| commit | 976b034b13d28877aee641833d5ee28a8cc5d83f (patch) | |
| tree | 541ac198f12969bf3054c306351523de41463b11 /src/wallet/init.cpp | |
| parent | Merge #15457: Check std::system for -[alert|block|wallet]notify (diff) | |
| download | discoin-976b034b13d28877aee641833d5ee28a8cc5d83f.tar.xz discoin-976b034b13d28877aee641833d5ee28a8cc5d83f.zip | |
[build]: use #if HAVE_SYSTEM instead of defined(HAVE_SYSTEM)
Diffstat (limited to 'src/wallet/init.cpp')
| -rw-r--r-- | src/wallet/init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/init.cpp b/src/wallet/init.cpp index 0085c3bac..4c327c77a 100644 --- a/src/wallet/init.cpp +++ b/src/wallet/init.cpp @@ -57,7 +57,7 @@ void WalletInit::AddWalletOptions() const gArgs.AddArg("-wallet=<path>", "Specify wallet database path. Can be specified multiple times to load multiple wallets. Path is interpreted relative to <walletdir> if it is not absolute, and will be created if it does not exist (as a directory containing a wallet.dat file and log files). For backwards compatibility this will also accept names of existing data files in <walletdir>.)", false, OptionsCategory::WALLET); gArgs.AddArg("-walletbroadcast", strprintf("Make the wallet broadcast transactions (default: %u)", DEFAULT_WALLETBROADCAST), false, OptionsCategory::WALLET); gArgs.AddArg("-walletdir=<dir>", "Specify directory to hold wallets (default: <datadir>/wallets if it exists, otherwise <datadir>)", false, OptionsCategory::WALLET); -#if defined(HAVE_SYSTEM) +#if HAVE_SYSTEM gArgs.AddArg("-walletnotify=<cmd>", "Execute command when a wallet transaction changes (%s in cmd is replaced by TxID)", false, OptionsCategory::WALLET); #endif gArgs.AddArg("-walletrbf", strprintf("Send transactions with full-RBF opt-in enabled (RPC only, default: %u)", DEFAULT_WALLET_RBF), false, OptionsCategory::WALLET); |