Skip to content

Commit fca789d

Browse files
committed
Fix clap issue after beta 4 by calling last(true)
1 parent 5d31865 commit fca789d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ fn parse_args() -> Args {
124124
.about("Arguments for the script to execute.")
125125
.multiple_values(true)
126126
.min_values(0)
127+
.last(true)
127128
)
128129
.arg(Arg::new("expr")
129130
.about("Execute <script> as a literal expression and display the result.")

0 commit comments

Comments
 (0)