From ef17cd2ebe79caa70e41b2dcc1f0f6998a573333 Mon Sep 17 00:00:00 2001 From: Bai Jing Date: Mon, 5 Mar 2012 13:51:30 +0100 Subject: jsondb-client: fix typo and add one example Bug #6132 Change-Id: I9e31d878fa37fcb414a772436a1a2b16de677610 Reviewed-by: Kevin Simons --- tools/jsondb-client/client.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools') 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:] OBJECT" << std::endl << " update [partition:] OBJECT" << std::endl << " remove [partition:] 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()); -- cgit v1.2.3