aboutsummaryrefslogtreecommitdiff
path: root/src/cli.rs
diff options
context:
space:
mode:
authorkrolxon <krolyxon@tutanota.com>2024-04-26 14:32:58 +0530
committerkrolxon <krolyxon@tutanota.com>2024-04-26 14:32:58 +0530
commit04e5d2ad28af2c0b561ed4443eabddc4ee70d1f2 (patch)
tree771937cfad99e1fed9d0aeead9d5f88e28c6f8e9 /src/cli.rs
parent59e8e8cbe67b969d120035a642dc99ccb0dff5eb (diff)
alot of edge cases removed, ui improvments
Diffstat (limited to 'src/cli.rs')
-rwxr-xr-xsrc/cli.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cli.rs b/src/cli.rs
index 131f746..2992952 100755
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -6,10 +6,10 @@ use clap::{Parser, Subcommand};
pub struct Args {
/// No TUI
#[arg(short= 'n', default_value="false")]
- pub no_tui: bool,
+ pub tui: bool,
#[command(subcommand)]
- pub command: Command,
+ pub command: Option<Command>,
}
#[derive(Debug, Subcommand)]