From 24d3d65d42a6e95dc37605bbe779a5f2ef096492 Mon Sep 17 00:00:00 2001 From: Kermit Alexander II Date: Sat, 31 Jul 2021 04:23:03 -0500 Subject: monero-wallet-rpc: Prevent --password-file from being used with --wallet-dir --- src/wallet/wallet_args.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/wallet/wallet_args.cpp') 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 arg_password_file() + { + return {"password-file", wallet_args::tr("Wallet password file"), ""}; + } const char* tr(const char* str) { -- cgit v1.2.3