The libxo library allows an application to generate text, XML, JSON, and HTML output using a common set of function calls. The application decides at run time which output style should be produced.
There's an "xo" option called "--not-first" for exactly these
situations; place that option on the second invocation so it
will know to emit the leading comma. This should be documented (#59).
See https://lists.freebsd.org/pipermail/freebsd-hackers/2018-September/053304.html
There's an "xo" option called "--not-first" for exactly these situations; place that option on the second invocation so it will know to emit the leading comma. This should be documented (#59).