Enhance help text for print_ring.
This commit is contained in:
parent
3900fb779f
commit
3998a937e5
|
@ -1408,7 +1408,7 @@ bool simple_wallet::print_ring(const std::vector<std::string> &args)
|
||||||
crypto::hash txid;
|
crypto::hash txid;
|
||||||
if (args.size() != 1)
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2653,7 +2653,9 @@ simple_wallet::simple_wallet()
|
||||||
m_cmd_binder.set_handler("print_ring",
|
m_cmd_binder.set_handler("print_ring",
|
||||||
boost::bind(&simple_wallet::print_ring, this, _1),
|
boost::bind(&simple_wallet::print_ring, this, _1),
|
||||||
tr("print_ring <key_image> | <txid>"),
|
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",
|
m_cmd_binder.set_handler("set_ring",
|
||||||
boost::bind(&simple_wallet::set_ring, this, _1),
|
boost::bind(&simple_wallet::set_ring, this, _1),
|
||||||
tr("set_ring <filename> | ( <key_image> absolute|relative <index> [<index>...] )"),
|
tr("set_ring <filename> | ( <key_image> absolute|relative <index> [<index>...] )"),
|
||||||
|
|
|
@ -1196,7 +1196,7 @@ This transaction will unlock on block %llu, in approximately %s days (assuming 2
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/simplewallet/simplewallet.cpp" line="1356"/>
|
<location filename="../src/simplewallet/simplewallet.cpp" line="1356"/>
|
||||||
<source>usage: print_ring <key_image|txid></source>
|
<source>usage: print_ring <key_image> | <txid></source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
|
@ -1979,7 +1979,10 @@ Pending or Failed: "failed"|"pending", "o
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/simplewallet/simplewallet.cpp" line="2534"/>
|
<location filename="../src/simplewallet/simplewallet.cpp" line="2534"/>
|
||||||
<source>Print the ring(s) used to spend a given key image or transaction (if the ring size is > 1)</source>
|
<source>Print the ring(s) used to spend a given key image or transaction (if the ring size is > 1)
|
||||||
|
|
||||||
|
Output format:
|
||||||
|
Key Image, "absolute", list of rings</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
|
|
|
@ -2987,8 +2987,11 @@ subaddress-lookahead <major>:<minor>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/simplewallet/simplewallet.cpp" line="2534"/>
|
<location filename="../src/simplewallet/simplewallet.cpp" line="2534"/>
|
||||||
<source>Print the ring(s) used to spend a given key image or transaction (if the ring size is > 1)</source>
|
<source>Print the ring(s) used to spend a given key image or transaction (if the ring size is > 1)
|
||||||
<translation>Afficher le(s) cercle(s) utilisé(s) pour dépenser une image de clé ou une transaction (si la taille de cercle est > 1)</translation>
|
|
||||||
|
Output format:
|
||||||
|
Key Image, "absolute", list of rings</source>
|
||||||
|
<translation type="unfinished">Afficher le(s) cercle(s) utilisé(s) pour dépenser une image de clé ou une transaction (si la taille de cercle est > 1)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/simplewallet/simplewallet.cpp" line="2537"/>
|
<location filename="../src/simplewallet/simplewallet.cpp" line="2537"/>
|
||||||
|
|
Loading…
Reference in New Issue