aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_args.cpp
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2021-09-09 15:14:17 -0400
committerluigi1111 <luigi1111w@gmail.com>2021-09-09 15:14:17 -0400
commitdfa6b58d4db35bd58027093517b188953dd247dc (patch)
tree6f696c4d4bac524e94bfeabea5b7ccb9d1a91b67 /src/wallet/wallet_args.cpp
parentMerge pull request #7773 from selsta/unbound (diff)
parentmonero-wallet-rpc: Prevent --password-file from being used with --wallet-dir (diff)
downloadmonero-dfa6b58d4db35bd58027093517b188953dd247dc.tar.xz
Merge pull request #7823
24d3d65 monero-wallet-rpc: Prevent --password-file from being used with --wallet-dir (Kermit Alexander II)
Diffstat (limited to 'src/wallet/wallet_args.cpp')
-rw-r--r--src/wallet/wallet_args.cpp4
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)
{