Skip to content

Commit

Permalink
feat(cli): Add completion hint so shells know when to provide paths
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Aug 12, 2024
1 parent 4d20ad1 commit c280ce2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,6 @@ pub struct Cli {
pub quiet: bool,

/// Optional list of paths to operate on instead of default which is all files tracked by Git
pub paths: Vec<String>,
#[arg(value_hint = clap::ValueHint::FilePath)]
pub paths: Option<Vec<String>>,
}

0 comments on commit c280ce2

Please sign in to comment.