mirror of
https://github.com/monero-project/monero.git
synced 2026-01-25 22:04:28 +01:00
Enhance help text for incoming_transfers.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user