Juan Hernandez has uploaded a new change for review.

Change subject: cli: Change action help text to match syntax
......................................................................

cli: Change action help text to match syntax

For auto completion to work the parent identifiers of the resource have
to be provided before the action, as the set of possible actions depends
on the actual parent. This patch changes the help text so that it
matches the actual syntax.

Change-Id: Ib3d82efa4a7fbff4ff04cb9a2c0d7b9fec3670e8
Bug-Url: https://bugzilla.redhat.com/1047543
Signed-off-by: Juan Hernandez <[email protected]>
---
M src/ovirtcli/command/action.py
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine-cli refs/changes/81/24081/1

diff --git a/src/ovirtcli/command/action.py b/src/ovirtcli/command/action.py
index 634e4b5..c76cdee 100644
--- a/src/ovirtcli/command/action.py
+++ b/src/ovirtcli/command/action.py
@@ -33,7 +33,7 @@
     helptext0 = """\
         == Usage ==
 
-        action <type> <id> <action> [parent identifiers] [command options]
+        action <type> <id> [parent identifiers] <action> [command options]
 
         == Description ==
 
@@ -86,7 +86,7 @@
     helptext1 = """\
         == Usage ==
 
-        action <type> <id> <action> [parent identifiers] [command options]
+        action <type> <id> [parent identifiers] <action> [command options]
 
         == Description ==
 


-- 
To view, visit http://gerrit.ovirt.org/24081
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib3d82efa4a7fbff4ff04cb9a2c0d7b9fec3670e8
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-cli
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to