From 2a2437409a5649d2d005d1b8821591ad94a725fd Mon Sep 17 00:00:00 2001 From: Gabor Javorszky Date: Thu, 1 Aug 2024 10:17:54 +0100 Subject: tools/unitctl: make json-pretty default output fmt --- tools/unitctl/unitctl/src/unitctl.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/unitctl') diff --git a/tools/unitctl/unitctl/src/unitctl.rs b/tools/unitctl/unitctl/src/unitctl.rs index 50bd1eb6..0d815fc1 100644 --- a/tools/unitctl/unitctl/src/unitctl.rs +++ b/tools/unitctl/unitctl/src/unitctl.rs @@ -135,7 +135,7 @@ pub struct InstanceArgs { global = true, short = 't', long = "output-format", - default_value = "text", + default_value = "json-pretty", help = "Output format: text, yaml, json, json-pretty" )] pub output_format: OutputFormat, @@ -170,7 +170,7 @@ pub struct ApplicationArgs { global = true, short = 't', long = "output-format", - default_value = "text", + default_value = "json-pretty", help = "Output format: text, yaml, json, json-pretty" )] pub output_format: OutputFormat, -- cgit