[ovs-dev] [PATCH 2/2] ovsdb-client: Add JSON output format.

Ben Pfaff blp at nicira.com
Wed Nov 3 23:58:15 UTC 2010


On Wed, Nov 03, 2010 at 04:33:26PM -0700, Ethan Jackson wrote:
> >  .IP "\fB\-d \fIformat\fR"
> >  .IP "\fB\-\-data=\fIformat\fR"
> > -Sets the formatting for cells within output tables.  The following
> > -types of \fIformat\fR are available:
> > +Sets the formatting for cells within output tables for \fBtable\fR,
> > +\fBhtml\fR, and \fBcsv\fR output formats only.  The following
> > +\fIformat\fR types are available:
> >  .RS
> >  .IP "\fBstring\fR (default)"
> >  The simple format described in \fBovs\-vsctl\fR(8).
> >  .IP "\fBjson\fR"
> >  JSON.
> >  .RE
> > +.IP
> > +This option is ignored with \fB\-f json\fR, which always outputs cells
> > +in JSON format.
> 
> This paragraph is a little confusing to me.  instead of listing all of
> the output formats it works with.  Could we just say it's ignored with
> the json output format?  Thus it would read something like this:
> 
> "
> Sets the formatting for cells within output tables.  The following
> types of format are available:
> 
> ...
> 
> This option is ignored with json output tables or when -f json, which
> always output cells in JSON format.
> "

OK, we can do it that way.

I'll make that change and push it out soon.

Thanks,

Ben.




More information about the dev mailing list