summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-06-24 07:37:50 +0800
committerGitHub <noreply@github.com>2024-06-24 07:37:50 +0800
commitbce2dbecb9a3c524bf3cfdc3ab42f0f34729e76b (patch)
tree21724487c4a9491e3377d4f019178bfb1a6f43d3 /src
parentb3bec3cfb0ab75a5dc30dbd55b91e687a3588410 (diff)
downloadaichat-bce2dbecb9a3c524bf3cfdc3ab42f0f34729e76b.tar.gz
refactor: cli help and shell completions (#642)
Diffstat (limited to 'src')
-rw-r--r--src/cli.rs8
1 files changed, 4 insertions, 4 deletions
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<String>,
- /// 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, <max-width>)
#[clap(short = 'w', long)]
pub wrap: Option<String>,
+ /// Turn off syntax highlighting
+ #[clap(short = 'H', long)]
+ pub no_highlight: bool,
/// Use light theme
#[clap(long)]
pub light_theme: bool,