From bce2dbecb9a3c524bf3cfdc3ab42f0f34729e76b Mon Sep 17 00:00:00 2001 From: sigoden Date: Mon, 24 Jun 2024 07:37:50 +0800 Subject: refactor: cli help and shell completions (#642) --- src/cli.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/cli.rs') diff --git a/src/cli.rs b/src/cli.rs index 243fc82..7811158 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -36,15 +36,15 @@ pub struct Cli { /// Include files with the message #[clap(short = 'f', long, value_name = "FILE")] pub file: Vec, - /// Turn off syntax highlighting - #[clap(short = 'H', long)] - pub no_highlight: bool, - /// Turns off stream mode + /// Turn off stream mode #[clap(short = 'S', long)] pub no_stream: bool, /// Control text wrapping (no, auto, ) #[clap(short = 'w', long)] pub wrap: Option, + /// Turn off syntax highlighting + #[clap(short = 'H', long)] + pub no_highlight: bool, /// Use light theme #[clap(long)] pub light_theme: bool, -- cgit v1.2.3