aboutsummaryrefslogtreecommitdiff
path: root/src/cli.rs
diff options
context:
space:
mode:
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)]