From bd39d64e2e0c08f323187fe9946c437b5ea8af35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20L=C3=B6fman?= Date: Fri, 26 Nov 2010 15:38:14 +0200 Subject: Changed the update command in resourceqt-client to match resource-client. --- resourceqt-client/client.cpp | 150 +++++++++++++++++++++++++++---------------- 1 file changed, 96 insertions(+), 54 deletions(-) (limited to 'resourceqt-client/client.cpp') diff --git a/resourceqt-client/client.cpp b/resourceqt-client/client.cpp index fe15586..23d5acb 100644 --- a/resourceqt-client/client.cpp +++ b/resourceqt-client/client.cpp @@ -59,9 +59,8 @@ Client::Client() commandList["free"] = CommandListArgs("", "destroy and free the resources"); commandList["acquire"] = CommandListArgs("", "acquire required resources"); commandList["release"] = CommandListArgs("", "release resources"); - commandList["update"] = CommandListArgs("", "update modified resource set after add or remove command"); - commandList["add"] = CommandListArgs("reslist [-o]", "add resource list, if -o provided, set as optional"); - commandList["remove"] = CommandListArgs("reslist [-o]", "remove resource list, if -o provided, removed only optional flag"); + commandList["update"] = CommandListArgs("update all[:opt] where 'all' and 'opt' are comma separated resources", + "update the resource set by specifying the new set"); commandList["audio"] = CommandListArgs("pid | group