summaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGabor Javorszky <g.javorszky@f5.com>2024-08-01 10:17:54 +0100
committerGabor Javorszky <gabor@javorszky.co.uk>2024-08-01 18:27:57 +0100
commit2a2437409a5649d2d005d1b8821591ad94a725fd (patch)
tree0b6e497206975dbca3d214c9722241df7242b459 /tools
parente743b6cef5d86e340a5538286baf733a21204e63 (diff)
downloadunit-2a2437409a5649d2d005d1b8821591ad94a725fd.tar.gz
unit-2a2437409a5649d2d005d1b8821591ad94a725fd.tar.bz2
tools/unitctl: make json-pretty default output fmt
Diffstat (limited to 'tools')
-rw-r--r--tools/unitctl/unitctl/src/unitctl.rs4
1 files changed, 2 insertions, 2 deletions
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,