Re: -var-show-attributes response syntax

Andreas Schwab
2006-11-10T17:02:36Z

Nick Roberts <nickrob@snap.net.nz> writes:

> Vladimir Prus writes:
> >
> > Hello!
> >
> > Here's the docs for -var-show-attributes MI command:
> >
> > Synopsis
> > -var-show-attributes name
> >
> > List attributes of the specified variable object name:
> > status=attr [ ( ,attr )* ]
> > where attr is { { editable | noneditable } | TBD }.
> >
> > What is the reason for using "non" instead of "attribute_name=attribute_value"
> > syntax? The above assumes all attributes are boolean, which is not very
> > extensible.
>
> I think the above means output may be something like:
>
> ^done,attr={"editable","yellow","big"}

In which case I think status is a typo and should actually have been attr,
like this:

attr=ATTR [ ( ,ATTR )* ]

Andreas.

--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, MaxfeldstraÃŸe 5, 90409 NÃ¼rnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."