summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cli.rs9
-rw-r--r--src/main.rs9
2 files changed, 0 insertions, 18 deletions
diff --git a/src/cli.rs b/src/cli.rs
index 7811158..e59571d 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -39,15 +39,6 @@ pub struct Cli {
/// 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,
/// Display the message without sending it
#[clap(long)]
pub dry_run: bool,
diff --git a/src/main.rs b/src/main.rs
index 609b51b..172c8e3 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -108,12 +108,6 @@ async fn run(
println!("{rags}");
return Ok(());
}
- if let Some(wrap) = &cli.wrap {
- config.write().set_wrap(wrap)?;
- }
- if cli.light_theme {
- config.write().light_theme = true;
- }
if cli.dry_run {
config.write().dry_run = true;
}
@@ -154,9 +148,6 @@ async fn run(
if cli.save_session {
config.write().set_save_session(Some(true));
}
- if cli.no_highlight {
- config.write().highlight = false;
- }
if cli.info {
let info = config.read().info()?;
println!("{}", info);