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') 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