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 explains this. Change-Id: Ib3d82efa4a7fbff4ff04cb9a2c0d7b9fec3670e8 Bug-Url: https://bugzilla.redhat.com/1047543 Signed-off-by: Juan Hernandez <[email protected]> (cherry picked from commit 6528469db2435bb770a0a26edcdf4137a3435a72) --- M src/ovirtcli/command/action.py 1 file changed, 14 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine-cli refs/changes/96/24296/1 diff --git a/src/ovirtcli/command/action.py b/src/ovirtcli/command/action.py index 634e4b5..695dd25 100644 --- a/src/ovirtcli/command/action.py +++ b/src/ovirtcli/command/action.py @@ -35,6 +35,13 @@ action <type> <id> <action> [parent identifiers] [command options] + Note that when using auto-completion it may be necessary to know + the parent identifiers of the object in order to determine the + available actions, so the following syntax, with the action + after the parent identifiers, is also accepted: + + action <type> <id> [parent identifiers] <action> [command options] + == Description == Executes the an action on an object. This command requires the @@ -88,6 +95,13 @@ action <type> <id> <action> [parent identifiers] [command options] + Note that when using auto-completion it may be necessary to know + the parent identifiers of the object in order to determine the + available actions, so the following syntax, with the action + after the parent identifiers, is also accepted: + + action <type> <id> [parent identifiers] <action> [command options] + == Description == Executes the an action on an object. This command requires the -- To view, visit http://gerrit.ovirt.org/24296 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: cli_3.4 Gerrit-Owner: Juan Hernandez <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
