mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-02-09 05:14:16 +00:00
use same word + remove two times the '
1. correct: "agemin":agemin,"agemax":agemin}'] "agemin":agemin,"agemax":agemax}'] 2. the ' at end is irritating: getpieceavailability <username> <k>' getpiecemaxseen <username> <k>'
This commit is contained in:
parent
ee6f5cae04
commit
dd11e42450
@ -3393,7 +3393,7 @@ Value search(const Array& params, bool fHelp)
|
|||||||
{
|
{
|
||||||
if (fHelp || params.size() < 3 || params.size() > 4)
|
if (fHelp || params.size() < 3 || params.size() > 4)
|
||||||
throw runtime_error(
|
throw runtime_error(
|
||||||
"search <scope> <text> <count> ['{\"username\":username,\"mode\":\"exact\"|\"all\"|\"any\",\"case\":\"sensitive\"|\"insensitive\",\"agemin\":agemin,\"agemax\":agemin}']\n"
|
"search <scope> <text> <count> ['{\"username\":username,\"mode\":\"exact\"|\"all\"|\"any\",\"case\":\"sensitive\"|\"insensitive\",\"agemin\":agemin,\"agemax\":agemax}']\n"
|
||||||
"search text in available data\n"
|
"search text in available data\n"
|
||||||
"<scope> is data area: messages, directmsgs, profiles, users, hashtags, favorites\n"
|
"<scope> is data area: messages, directmsgs, profiles, users, hashtags, favorites\n"
|
||||||
"<text> is a phrase to search\n"
|
"<text> is a phrase to search\n"
|
||||||
@ -4004,7 +4004,7 @@ Value getpieceavailability(const Array& params, bool fHelp)
|
|||||||
{
|
{
|
||||||
if (fHelp || params.size() != 2 )
|
if (fHelp || params.size() != 2 )
|
||||||
throw runtime_error(
|
throw runtime_error(
|
||||||
"getpieceavailability <username> <k>'\n"
|
"getpieceavailability <username> <k>\n"
|
||||||
"Get piece availability (peer count for this piece)");
|
"Get piece availability (peer count for this piece)");
|
||||||
|
|
||||||
EnsureWalletIsUnlocked();
|
EnsureWalletIsUnlocked();
|
||||||
@ -4023,7 +4023,7 @@ Value getpiecemaxseen(const Array& params, bool fHelp)
|
|||||||
{
|
{
|
||||||
if (fHelp || params.size() != 2 )
|
if (fHelp || params.size() != 2 )
|
||||||
throw runtime_error(
|
throw runtime_error(
|
||||||
"getpiecemaxseen <username> <k>'\n"
|
"getpiecemaxseen <username> <k>\n"
|
||||||
"Get piece max seen availability (max peer count for this piece)");
|
"Get piece max seen availability (max peer count for this piece)");
|
||||||
|
|
||||||
EnsureWalletIsUnlocked();
|
EnsureWalletIsUnlocked();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user