diff options
| author | sigoden <sigoden@gmail.com> | 2024-06-24 07:37:50 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-24 07:37:50 +0800 |
| commit | bce2dbecb9a3c524bf3cfdc3ab42f0f34729e76b (patch) | |
| tree | 21724487c4a9491e3377d4f019178bfb1a6f43d3 /src | |
| parent | b3bec3cfb0ab75a5dc30dbd55b91e687a3588410 (diff) | |
| download | aichat-bce2dbecb9a3c524bf3cfdc3ab42f0f34729e76b.tar.gz | |
refactor: cli help and shell completions (#642)
Diffstat (limited to 'src')
| -rw-r--r-- | src/cli.rs | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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, |
