On Thu, Oct 22, 2009 at 05:04:04PM -0700, Glenn Skinner wrote:
> 
>     ...
>      4. Add '-V' option to nwamcfg's 'get' subcommand
>         Default output from the get command is 'propname=propval'.  For
>         ease of scripting, the -V option outputs the value only.
> 
>         Example:
>         % nwamcfg "select wlan Asbury; get priority"
>             priority  0
>         % nwamcfg "select wlan Asbury; get -V priority"
>         0
> 
> The example lacks the "=" character.  Is it supposed to be there, or
> not?

No, it is not intended to be there; the example is correct.

> Also, what stability level does this output have?  (If you
> intend it to be scriptable, it ought to be Committed...)

The stability level is addressed in the following item, which
you ask about next:

>      5. Clarification of command-line output stability
>         PSARC 2008/532 incorrectly defined command-line output
>         stability to be Uncommitted; it should be Volatile.
> 
> See above.  You probably want to call out subcommands that are
> intended to produce scriptable output and specify their output
> stability separately.

We have an RFE to further address scriptability in the command
output, and when we do that, will specify appropriate stability.

This particular change (the addtion of the -V option) was added
specifically because the project is delivering some scripts (smf
service methods) which benefitted from this option.

-renee

Reply via email to