mirror of
https://github.com/monero-project/monero.git
synced 2025-08-19 02:07:54 -04:00
Enhance help text for incoming_transfers.
This commit is contained in:
parent
8534f71eed
commit
3900fb779f
6 changed files with 35 additions and 18 deletions
|
@ -2347,7 +2347,9 @@ simple_wallet::simple_wallet()
|
|||
m_cmd_binder.set_handler("incoming_transfers",
|
||||
boost::bind(&simple_wallet::show_incoming_transfers, this, _1),
|
||||
tr("incoming_transfers [available|unavailable] [verbose] [index=<N1>[,<N2>[,...]]]"),
|
||||
tr("Show the incoming transfers, all or filtered by availability and address index."));
|
||||
tr("Show the incoming transfers, all or filtered by availability and address index.\n\n"
|
||||
"Output format:\n"
|
||||
"Amount, Spent(\"T\"|\"F\"), \"locked\"|\"unlocked\", RingCT, Global Index, Transaction Hash, Address Index, [Public Key, Key Image] "));
|
||||
m_cmd_binder.set_handler("payments",
|
||||
boost::bind(&simple_wallet::show_payments, this, _1),
|
||||
tr("payments <PID_1> [<PID_2> ... <PID_N>]"),
|
||||
|
@ -4435,7 +4437,7 @@ bool simple_wallet::show_incoming_transfers(const std::vector<std::string>& args
|
|||
{
|
||||
if (args.size() > 3)
|
||||
{
|
||||
fail_msg_writer() << tr("usage: incoming_transfers [available|unavailable] [verbose] [index=<N>]");
|
||||
fail_msg_writer() << tr("usage: incoming_transfers [available|unavailable] [verbose] [index=<N1>[,<N2>[,...]]]");
|
||||
return true;
|
||||
}
|
||||
auto local_args = args;
|
||||
|
@ -4477,7 +4479,7 @@ bool simple_wallet::show_incoming_transfers(const std::vector<std::string>& args
|
|||
|
||||
if (local_args.size() > 0)
|
||||
{
|
||||
fail_msg_writer() << tr("usage: incoming_transfers [available|unavailable] [verbose] [index=<N>]");
|
||||
fail_msg_writer() << tr("usage: incoming_transfers [available|unavailable] [verbose] [index=<N1>[,<N2>[,...]]]");
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue