Skip to content

Commit

Permalink
Merge pull request #224 from naiquevin/fix-multiple-paths
Browse files Browse the repository at this point in the history
Prevent multiple occurrences of --path from eating up the subcommand
  • Loading branch information
stepchowfun authored Apr 4, 2024
2 parents e955d3a + 9080875 commit 92fbf4a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ fn settings() -> Settings {
.long(PATH_OPTION)
.help("Adds the path of a directory to scan")
.default_value(".") // [tag:path_default]
.multiple(true),
.multiple(true)
.number_of_values(1),
)
.arg(
Arg::with_name(TAG_SIGIL_OPTION)
Expand Down

0 comments on commit 92fbf4a

Please sign in to comment.