summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2012-02-28 13:21:08 +0100
committerQt by Nokia <qt-info@nokia.com>2012-03-05 15:23:54 +0100
commit6148c48c7c91ac224046cea6cccbdbdd30be2e9d (patch)
treefb37f4e29d4e9875aa46ee9e7cd178336ef365ea /tools
parent1c25c29d3d24ececd428f9cd3a0f8806bb8ac919 (diff)
Removed obsolete actions from jsondb-client help screen.
Also, cleaned up help output. Change-Id: I7bd38e19ae1aef520d9078e2173b79c68deb3fb2 Reviewed-by: Kevin Simons <kevin.simons@nokia.com> Reviewed-by: Jing Bai <jing.t.bai@nokia.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/jsondb-client/client.cpp12
1 files changed, 2 insertions, 10 deletions
diff --git a/tools/jsondb-client/client.cpp b/tools/jsondb-client/client.cpp
index ae0316cc..68cb4813 100644
--- a/tools/jsondb-client/client.cpp
+++ b/tools/jsondb-client/client.cpp
@@ -371,18 +371,10 @@ void Client::usage()
<< " create [partition:<name>] OBJECT" << std::endl
<< " update [partition:<name>] OBJECT" << std::endl
<< " remove [partition:<name>] OBJECT" << std::endl
- << " remove [partition:<name>] QUERY" << std::endl
- << " find [partition:<name>] QUERY" << std::endl
+ << " query [partition:<name>] STRING [limit]" << std::endl
+ << " notify [partition:<name>] ACTIONS QUERY" << std::endl
<< " changesSince [partition:<name>] STATENUMBER [type1 type2 ...]" << std::endl
<< " load FILE1 FILE2 ..." << std::endl
- << std::endl
- << "Convenience functions" << std::endl
- << " query STRING [limit]" << std::endl
- << " find {\"query\": STRING}" << std::endl
- << " notify ACTIONS QUERY" << std::endl
- << " create { \"_type\": \"notification\"," << std::endl
- << " \"query\": QUERY," << std::endl
- << " \"actions\": ACTIONS }" << std::endl
<< " help" << std::endl
<< " quit" << std::endl
<< std::endl