1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 02:21:16 +02:00
nix/doc/manual/rl-next/pretty-json.md
2025-05-14 23:43:27 +02:00

436 B

synopsis issues prs
Prettified JSON output on the terminal 12555
12652

Scripts are mostly unaffected because for those, stdout will be a file or a pipe, not a terminal, and for those, the old single-line behavior applies.

--json --pretty can be passed to enable it even if the output is not a terminal. If your script creates a pseudoterminal for Nix's stdout, you can pass --no-pretty to disable the new behavior.