[Bug 243400] add json output to diskinfo(8)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Jan 16 21:50:22 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243400
--- Comment #1 from Conrad Meyer <cem at freebsd.org> ---
Usually this kind of thing is done with libxo -- rather than open-coding json,
the program creates some structured output stream and the user can invoke the
program and elect an output format (json, xml, etc). I'm not an advocate for
libxo (I think it's terrible) but if you want json from this binary, that seems
to be the prevailing pattern.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list