Michael Pasternak has uploaded a new change for review. Change subject: cli: change collection based arguments syntax help #854506 ......................................................................
cli: change collection based arguments syntax help #854506 https://bugzilla.redhat.com/show_bug.cgi?id=854506 Change-Id: I9b16f0ce9e160b6a9a0fb23077ed30599cf55842 Signed-off-by: Michael Pasternak <[email protected]> --- M src/ovirtcli/command/action.py M src/ovirtcli/command/create.py M src/ovirtcli/command/delete.py M src/ovirtcli/command/update.py 4 files changed, 52 insertions(+), 16 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine-cli refs/changes/70/7870/1 diff --git a/src/ovirtcli/command/action.py b/src/ovirtcli/command/action.py index 760d830..8996732 100644 --- a/src/ovirtcli/command/action.py +++ b/src/ovirtcli/command/action.py @@ -103,13 +103,22 @@ $actions - Note: collection based arguments syntax is: - --<type>.<collection-obj>.<collection-member> "<collection-item>.<collection-item-property>=value,..." + == Collection based option format == + + * [--x-y: collection] + { + [y.a: string] + [y.b: string] + [y.c: string] + } e.g: - --power_management-options-option "option.name=n1,option.value=v1" - --power_management-options-option "option.name=n2,option.value=v2" + --x-y "y.a=a1,y.b=b1,y.c=c1" + --x-y "y.a=a2,y.b=b2,y.c=c2" + ... + + where a, b, c are option properties and aN, bN, cN is actual user's data == Object Identifiers == diff --git a/src/ovirtcli/command/create.py b/src/ovirtcli/command/create.py index 6010b20..1218d72 100644 --- a/src/ovirtcli/command/create.py +++ b/src/ovirtcli/command/create.py @@ -109,13 +109,22 @@ $options - Note: collection based arguments syntax is: - --<type>.<collection-obj>.<collection-member> "<collection-item>.<collection-item-property>=value,..." + == Collection based option format == + + * [--x-y: collection] + { + [y.a: string] + [y.b: string] + [y.c: string] + } e.g: - --power_management-options-option "option.name=n1,option.value=v1" - --power_management-options-option "option.name=n2,option.value=v2" + --x-y "y.a=a1,y.b=b1,y.c=c1" + --x-y "y.a=a2,y.b=b2,y.c=c2" + ... + + where a, b, c are option properties and aN, bN, cN is actual user's data == Return Values == diff --git a/src/ovirtcli/command/delete.py b/src/ovirtcli/command/delete.py index 85caaf8..e3c41f4 100644 --- a/src/ovirtcli/command/delete.py +++ b/src/ovirtcli/command/delete.py @@ -109,13 +109,22 @@ $options - Note: collection based arguments syntax is: - --<type>.<collection-obj>.<collection-member> "<collection-item>.<collection-item-property>=value,..." + == Collection based option format == + + * [--x-y: collection] + { + [y.a: string] + [y.b: string] + [y.c: string] + } e.g: - --power_management-options-option "option.name=n1,option.value=v1" - --power_management-options-option "option.name=n2,option.value=v2" + --x-y "y.a=a1,y.b=b1,y.c=c1" + --x-y "y.a=a2,y.b=b2,y.c=c2" + ... + + where a, b, c are option properties and aN, bN, cN is actual user's data == Return Values == diff --git a/src/ovirtcli/command/update.py b/src/ovirtcli/command/update.py index e147897..122f275 100644 --- a/src/ovirtcli/command/update.py +++ b/src/ovirtcli/command/update.py @@ -112,13 +112,22 @@ $options - Note: collection based arguments syntax is: - --<type>.<collection-obj>.<collection-member> "<collection-item>.<collection-item-property>=value,..." + == Collection based option format == + + * [--x-y: collection] + { + [y.a: string] + [y.b: string] + [y.c: string] + } e.g: - --power_management-options-option "option.name=n1,option.value=v1" - --power_management-options-option "option.name=n2,option.value=v2" + --x-y "y.a=a1,y.b=b1,y.c=c1" + --x-y "y.a=a2,y.b=b2,y.c=c2" + ... + + where a, b, c are option properties and aN, bN, cN is actual user's data == Return Values == -- To view, visit http://gerrit.ovirt.org/7870 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I9b16f0ce9e160b6a9a0fb23077ed30599cf55842 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine-cli Gerrit-Branch: master Gerrit-Owner: Michael Pasternak <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
