From beb8824dee103661e8ea1f669e2cd0993fadb3a3 Mon Sep 17 00:00:00 2001 From: AmosOO7 <64257219+AmosOO7@users.noreply.github.com> Date: Sat, 29 Nov 2025 20:02:23 +0100 Subject: [PATCH] Add -p short flag for pretty command Add a short `-p` flag for the existing `pretty` command so users can invoke it more quickly using a shorthand option. --- src/commands.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands.rs b/src/commands.rs index d3f2d98..1fccd56 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -51,7 +51,7 @@ pub struct CliOpts { #[arg(env = "DATADIR", short = 'd', long = "datadir")] pub datadir: Option, /// Output results in pretty format (instead of JSON). - #[arg(long = "pretty", global = true)] + #[arg(long = "pretty", short = 'p', global = true)] pub pretty: bool, /// Top level cli sub-commands. #[command(subcommand)]