Skip to content

Commit

Permalink
fix(cli): make vault_path a named argument (prevents from running com…
Browse files Browse the repository at this point in the history
…mands)
  • Loading branch information
louis-thevenet committed Oct 23, 2024
1 parent 541c91e commit 691aaa7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ use crate::config::{get_config_dir, get_data_dir};
#[command(author, version = version(), about)]
pub struct Cli {
/// Vault to open (can be a single file or a directory)
#[arg(short, long, value_name = "PATH")]
pub vault_path: Option<PathBuf>,

/// Tick rate, i.e. number of ticks per second
Expand Down

0 comments on commit 691aaa7

Please sign in to comment.