Displaying 3 results from an estimated 3 matches for "machine_readable_printf".
2018 Aug 21
0
[PATCH 2/2] OCaml tools: add output selection for --machine-readable
...amp;& machine_readable () then (
- printf "virt-builder\n";
- printf "arch\n";
- printf "config-file\n";
- printf "customize\n";
- printf "json-list\n";
- if Pxzcat.using_parallel_xzcat () then printf "pxzcat\n";
+ machine_readable_printf "virt-builder\n";
+ machine_readable_printf "arch\n";
+ machine_readable_printf "config-file\n";
+ machine_readable_printf "customize\n";
+ machine_readable_printf "json-list\n";
+ if Pxzcat.using_parallel_xzcat () then machine_readab...
2018 Aug 21
4
[PATCH 0/2] RFC: add output selection for --machine-readable
Hi,
this is a first approach (hence RFC, since it misses tests &
documentation) in selecting the output for --machine-readable.
The possible choices are:
* --machine-readable: to stdout, like before
* --machine-readable=file:name-of-file: to the specified file
* --machine-readable=stream:stdout: explicitly to stdout
* --machine-readable=stream:stderr: explicitly to stderr
This makes it
2018 Aug 22
1
Re: [PATCH 2/2] OCaml tools: add output selection for --machine-readable
On Tue, Aug 21, 2018 at 05:44:30PM +0200, Pino Toscano wrote:
> +let machine_readable_printf fs =
> + let get_machine_readable_channel () =
> + let open_machine_readable_channel () =
> + match !machine_readable_output with
> + | NoOutput ->
> + (* Trying to use machine_readable_printf when --machine-readable was
> + * not enabled, and thus...