Skip to content

Commit

Permalink
Fix clap issue after beta 4 by calling last(true)
Browse files Browse the repository at this point in the history
  • Loading branch information
fornwall committed Aug 21, 2021
1 parent 5d31865 commit fca789d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ fn parse_args() -> Args {
.about("Arguments for the script to execute.")
.multiple_values(true)
.min_values(0)
.last(true)
)
.arg(Arg::new("expr")
.about("Execute <script> as a literal expression and display the result.")
Expand Down

0 comments on commit fca789d

Please sign in to comment.