{} characters in zonecfg usage messages confusing to users
State
3-Accepted (Yes, that is a problem)
Category:Subcategory
utility:zones
Keywords
onnv_triage | oss-bite-size | zones | zones-other
Sponsor
Submitter
Responsible Engineer
Vineeth Pillai
Reported Against
Duplicate Of
Introduced In
Commit to Fix
Fixed In
Release Fixed
Related Bugs
Submit Date
29-June-2005
Last Update Date
3-September-2007
Description
Feedback from the #opensolaris IRC channel as follows:
"the syntax is a bit confusing in the docs. It has {}ies"
The customer is referring to:
zonecfg:xanadu-z3> select net {address=129.146.89.52}
usage:
select <resource-type> { <property-name>=<property-value> }
I think the confusion here is that the customer thought that { and }
were literally required. In this case, the manpage does explain
the usage properly:
"The {} syntax means 1 or more of whatever is inside the
curly braces."
I'm filing this as a request to clarify the usage message printed by
the command somehow, or offer more responsive feedback. Or perhaps
even silently cope with the presence of the { and } characters in the
user input.
xxxxx@xxxxx.com 2005-06-29 22:26:27 GMT