simplewallet: add a few missing settings help text

This commit is contained in:
stoffu 2019-08-13 17:35:21 +09:00
parent 1bb4ae3b5e
commit 5a91b83cb4
No known key found for this signature in database
GPG key ID: 41DAB8343A9EC012

View file

@ -2881,6 +2881,8 @@ simple_wallet::simple_wallet()
" Whether to warn if there is transaction backlog.\n " " Whether to warn if there is transaction backlog.\n "
"confirm-backlog-threshold [n]\n " "confirm-backlog-threshold [n]\n "
" Set a threshold for confirm-backlog to only warn if the transaction backlog is greater than n blocks.\n " " Set a threshold for confirm-backlog to only warn if the transaction backlog is greater than n blocks.\n "
"confirm-export-overwrite <1|0>\n "
" Whether to warn if the file to be exported already exists.\n "
"refresh-from-block-height [n]\n " "refresh-from-block-height [n]\n "
" Set the height before which to ignore blocks.\n " " Set the height before which to ignore blocks.\n "
"auto-low-priority <1|0>\n " "auto-low-priority <1|0>\n "
@ -2888,12 +2890,20 @@ simple_wallet::simple_wallet()
"segregate-pre-fork-outputs <1|0>\n " "segregate-pre-fork-outputs <1|0>\n "
" Set this if you intend to spend outputs on both Monero AND a key reusing fork.\n " " Set this if you intend to spend outputs on both Monero AND a key reusing fork.\n "
"key-reuse-mitigation2 <1|0>\n " "key-reuse-mitigation2 <1|0>\n "
" Set this if you are not sure whether you will spend on a key reusing Monero fork later.\n" " Set this if you are not sure whether you will spend on a key reusing Monero fork later.\n "
"subaddress-lookahead <major>:<minor>\n " "subaddress-lookahead <major>:<minor>\n "
" Set the lookahead sizes for the subaddress hash table.\n " " Set the lookahead sizes for the subaddress hash table.\n "
" Set this if you are not sure whether you will spend on a key reusing Monero fork later.\n " " Set this if you are not sure whether you will spend on a key reusing Monero fork later.\n "
"segregation-height <n>\n " "segregation-height <n>\n "
" Set to the height of a key reusing fork you want to use, 0 to use default.")); " Set to the height of a key reusing fork you want to use, 0 to use default.\n "
"ignore-fractional-outputs <1|0>\n "
" Whether to ignore fractional outputs that result in net loss when spending due to fee.\n "
"track-uses <1|0>\n "
" Whether to keep track of owned outputs uses.\n "
"setup-background-mining <1|0>\n "
" Whether to enable background mining. Set this to support the network and to get a chance to receive new monero.\n "
"device-name <device_name[:device_spec]>\n "
" Device name for hardware wallet."));
m_cmd_binder.set_handler("encrypted_seed", m_cmd_binder.set_handler("encrypted_seed",
boost::bind(&simple_wallet::encrypted_seed, this, _1), boost::bind(&simple_wallet::encrypted_seed, this, _1),
tr("Display the encrypted Electrum-style mnemonic seed.")); tr("Display the encrypted Electrum-style mnemonic seed."));
@ -3257,8 +3267,8 @@ bool simple_wallet::set_variable(const std::vector<std::string> &args)
success_msg_writer() << "segregation-height = " << m_wallet->segregation_height(); success_msg_writer() << "segregation-height = " << m_wallet->segregation_height();
success_msg_writer() << "ignore-fractional-outputs = " << m_wallet->ignore_fractional_outputs(); success_msg_writer() << "ignore-fractional-outputs = " << m_wallet->ignore_fractional_outputs();
success_msg_writer() << "track-uses = " << m_wallet->track_uses(); success_msg_writer() << "track-uses = " << m_wallet->track_uses();
success_msg_writer() << "setup-background-mining = " << setup_background_mining_string + tr(" (set this to support the network and to get a chance to receive new monero)"); success_msg_writer() << "setup-background-mining = " << setup_background_mining_string;
success_msg_writer() << "device_name = " << m_wallet->device_name(); success_msg_writer() << "device-name = " << m_wallet->device_name();
return true; return true;
} }
else else