Bug 854506
Summary: | "collection based arguments syntax" help message has errors | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Ilia Meerovich <iliam> |
Component: | ovirt-engine-cli | Assignee: | Michael Pasternak <mpastern> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Ilia Meerovich <iliam> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 3.1.0 | CC: | acathrow, bazulay, dyasny, ecohen, iheim, oramraz, Rhev-m-bugs, ykaul |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | infra | ||
Fixed In Version: | si18 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-12-04 19:57:11 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ilia Meerovich
2012-09-05 08:25:10 UTC
it is correct: <collection-item> -> option <collection-item-property> -> name value -> n1 How can system administrator understand from: """ --<type>.<collection-obj>.<collection-member> "<collection-item>.<collection-item-property>=value,..." """ that he should write: """ --power_management-options-option "option.name=n1,option.value=v1 """ ? User cannot understand it. that's why help message should be changed from --<type>.<collection-obj>.<collection-member> to --<type>-<collection-obj>-<collection-member> - this way user will be able to correlate between you help message and usage. ilia, this is not a bug and template is correct <collection-item-property> == option.name old format still exists in: rhevm-cli-3.1.0.17-1.el6ev.noarch (In reply to comment #5) > old format still exists in: > rhevm-cli-3.1.0.17-1.el6ev.noarch this is not correct, .17 has: ============================= COLLECTION BASED OPTION FORMAT * [--x-y: collection] { [y.a: string] [y.b: string] [y.c: string] } e.g: --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 while old format is: =================== Note: collection based arguments syntax is: --<type>.<collection-obj>.<collection-member> "<collection-item>.<collection-item-property>=value,..." e.g: --power_management-options-option "option.name=n1,option.value=v1" --power_management-options-option "option.name=n2,option.value=v2" rechecked |