Skip to content

Commit 27c6e7e

Browse files
committed
Add -p short flag for pretty command
1 parent 7df419a commit 27c6e7e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/commands.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ pub struct CliOpts {
5151
#[arg(env = "DATADIR", short = 'd', long = "datadir")]
5252
pub datadir: Option<std::path::PathBuf>,
5353
/// Output results in pretty format (instead of JSON).
54-
#[arg(long = "pretty", global = true)]
54+
#[arg(long = "pretty", short = 'p', global = true)]
5555
pub pretty: bool,
5656
/// Top level cli sub-commands.
5757
#[command(subcommand)]

0 commit comments

Comments
 (0)