From dd11e42450d563304d87823217850677d7fbfa5a Mon Sep 17 00:00:00 2001 From: Erkan Yilmaz Date: Sat, 14 Nov 2015 14:23:59 +0100 Subject: [PATCH] use same word + remove two times the ' 1. correct: "agemin":agemin,"agemax":agemin}'] "agemin":agemin,"agemax":agemax}'] 2. the ' at end is irritating: getpieceavailability ' getpiecemaxseen ' --- src/twister.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/twister.cpp b/src/twister.cpp index 0df8f709..c1306a1f 100644 --- a/src/twister.cpp +++ b/src/twister.cpp @@ -3393,7 +3393,7 @@ Value search(const Array& params, bool fHelp) { if (fHelp || params.size() < 3 || params.size() > 4) throw runtime_error( - "search ['{\"username\":username,\"mode\":\"exact\"|\"all\"|\"any\",\"case\":\"sensitive\"|\"insensitive\",\"agemin\":agemin,\"agemax\":agemin}']\n" + "search ['{\"username\":username,\"mode\":\"exact\"|\"all\"|\"any\",\"case\":\"sensitive\"|\"insensitive\",\"agemin\":agemin,\"agemax\":agemax}']\n" "search text in available data\n" " is data area: messages, directmsgs, profiles, users, hashtags, favorites\n" " is a phrase to search\n" @@ -4004,7 +4004,7 @@ Value getpieceavailability(const Array& params, bool fHelp) { if (fHelp || params.size() != 2 ) throw runtime_error( - "getpieceavailability '\n" + "getpieceavailability \n" "Get piece availability (peer count for this piece)"); EnsureWalletIsUnlocked(); @@ -4023,7 +4023,7 @@ Value getpiecemaxseen(const Array& params, bool fHelp) { if (fHelp || params.size() != 2 ) throw runtime_error( - "getpiecemaxseen '\n" + "getpiecemaxseen \n" "Get piece max seen availability (max peer count for this piece)"); EnsureWalletIsUnlocked();