diff options
author | Bai Jing <jing.t.bai@nokia.com> | 2012-03-05 13:51:30 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-05 18:03:06 +0100 |
commit | ef17cd2ebe79caa70e41b2dcc1f0f6998a573333 (patch) | |
tree | e5bbded963d3cd4893ae8c685b405d9764e482fe /tools | |
parent | 718f5cc3ab2f2dc09f47fb17277d3def285a5243 (diff) |
jsondb-client: fix typo and add one example
Bug #6132
Change-Id: I9e31d878fa37fcb414a772436a1a2b16de677610
Reviewed-by: Kevin Simons <kevin.simons@nokia.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/jsondb-client/client.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/jsondb-client/client.cpp b/tools/jsondb-client/client.cpp index 68cb4813..fdd3f71c 100644 --- a/tools/jsondb-client/client.cpp +++ b/tools/jsondb-client/client.cpp @@ -367,7 +367,7 @@ void Client::usage() out << "Valid commands:" << std::endl << " connect" << std::endl << " disconnect" << std::endl - << "Direct database commands - these take an explict object" << std::endl + << "Direct database commands - these take an explicit object" << std::endl << " create [partition:<name>] OBJECT" << std::endl << " update [partition:<name>] OBJECT" << std::endl << " remove [partition:<name>] OBJECT" << std::endl @@ -385,6 +385,7 @@ void Client::usage() << "Sample commands: " << std::endl << " create {\"_type\": \"duck\", \"name\": \"Fred\"}" << std::endl << " query [?_type=\"duck\"]" << std::endl + << " remove {\"_uuid\": \"{18c9d905-5860-464e-a6dd-951464e366de}\", \"_version\": \"1-134f23dbb2\"}" << std::endl << " notify create,remove [?_type=\"duck\"]" << std::endl; QString usageInfo = QString::fromStdString(out.str()); |