From 3900fb779fbd3ebdb0eeb8c9d574bdd85c35ecf3 Mon Sep 17 00:00:00 2001 From: Tadeas Moravec Date: Fri, 16 Nov 2018 14:53:31 +0000 Subject: Enhance help text for incoming_transfers. --- src/simplewallet/simplewallet.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/simplewallet/simplewallet.cpp') diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index 702ff22cb..505e5525e 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -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=[,[,...]]]"), - 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 [ ... ]"), @@ -4435,7 +4437,7 @@ bool simple_wallet::show_incoming_transfers(const std::vector& args { if (args.size() > 3) { - fail_msg_writer() << tr("usage: incoming_transfers [available|unavailable] [verbose] [index=]"); + fail_msg_writer() << tr("usage: incoming_transfers [available|unavailable] [verbose] [index=[,[,...]]]"); return true; } auto local_args = args; @@ -4477,7 +4479,7 @@ bool simple_wallet::show_incoming_transfers(const std::vector& args if (local_args.size() > 0) { - fail_msg_writer() << tr("usage: incoming_transfers [available|unavailable] [verbose] [index=]"); + fail_msg_writer() << tr("usage: incoming_transfers [available|unavailable] [verbose] [index=[,[,...]]]"); return true; } -- cgit v1.2.3 From 3998a937e506cef027fa267adce16425ed6193d4 Mon Sep 17 00:00:00 2001 From: Tadeas Moravec Date: Fri, 16 Nov 2018 15:15:35 +0000 Subject: Enhance help text for print_ring. --- src/simplewallet/simplewallet.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/simplewallet/simplewallet.cpp') diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index 505e5525e..1b86e0ec5 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -1408,7 +1408,7 @@ bool simple_wallet::print_ring(const std::vector &args) crypto::hash txid; if (args.size() != 1) { - fail_msg_writer() << tr("usage: print_ring "); + fail_msg_writer() << tr("usage: print_ring | "); return true; } @@ -2653,7 +2653,9 @@ simple_wallet::simple_wallet() m_cmd_binder.set_handler("print_ring", boost::bind(&simple_wallet::print_ring, this, _1), tr("print_ring | "), - tr("Print the ring(s) used to spend a given key image or transaction (if the ring size is > 1)")); + tr("Print the ring(s) used to spend a given key image or transaction (if the ring size is > 1)\n\n" + "Output format:\n" + "Key Image, \"absolute\", list of rings")); m_cmd_binder.set_handler("set_ring", boost::bind(&simple_wallet::set_ring, this, _1), tr("set_ring | ( absolute|relative [...] )"), -- cgit v1.2.3