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:
Erkan Yilmaz 2015-11-14 14:23:59 +01:00
parent ee6f5cae04
commit dd11e42450

View File

@ -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();