diff options
author | Tadeas Moravec <moravec.tadeas@gmail.com> | 2018-11-16 15:15:35 +0000 |
---|---|---|
committer | Tadeas Moravec <moravec.tadeas@gmail.com> | 2018-11-16 15:15:35 +0000 |
commit | 3998a937e506cef027fa267adce16425ed6193d4 (patch) | |
tree | 440a1f64cad6188c237555dd4c368283714d407c /src | |
parent | Enhance help text for incoming_transfers. (diff) | |
download | monero-3998a937e506cef027fa267adce16425ed6193d4.tar.xz |
Enhance help text for print_ring.
Diffstat (limited to 'src')
-rw-r--r-- | src/simplewallet/simplewallet.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
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<std::string> &args) crypto::hash txid; if (args.size() != 1) { - fail_msg_writer() << tr("usage: print_ring <key_image|txid>"); + fail_msg_writer() << tr("usage: print_ring <key_image> | <txid>"); 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 <key_image> | <txid>"), - 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 <filename> | ( <key_image> absolute|relative <index> [<index>...] )"), |