diff options
author | Kermit Alexander II <kermitalexandr@google.com> | 2021-07-31 04:23:03 -0500 |
---|---|---|
committer | Kermit Alexander II <kermitalexandr@google.com> | 2021-08-20 08:54:41 -0500 |
commit | 24d3d65d42a6e95dc37605bbe779a5f2ef096492 (patch) | |
tree | 11142920ea27889c728e0a44055fa1da4b0d8904 /src/wallet/wallet_args.cpp | |
parent | Merge pull request #7814 (diff) | |
download | monero-24d3d65d42a6e95dc37605bbe779a5f2ef096492.tar.xz |
monero-wallet-rpc: Prevent --password-file from being used with --wallet-dir
Diffstat (limited to 'src/wallet/wallet_args.cpp')
-rw-r--r-- | src/wallet/wallet_args.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wallet/wallet_args.cpp b/src/wallet/wallet_args.cpp index 55058bf4e..066e98e52 100644 --- a/src/wallet/wallet_args.cpp +++ b/src/wallet/wallet_args.cpp @@ -80,6 +80,10 @@ namespace wallet_args { return {"rpc-client-secret-key", wallet_args::tr("Set RPC client secret key for RPC payments"), ""}; } + command_line::arg_descriptor<std::string> arg_password_file() + { + return {"password-file", wallet_args::tr("Wallet password file"), ""}; + } const char* tr(const char* str) { |