seq: make arguments required

Right now seq panics when invoked without args.
This commit is contained in:
Michael Debertol
2021-05-31 21:20:19 +02:00
parent 6ccc305513
commit c78cc65421
+2 -1
View File
@@ -119,7 +119,8 @@ pub fn uumain(args: impl uucore::Args) -> i32 {
.multiple(true)
.takes_value(true)
.allow_hyphen_values(true)
.max_values(3),
.max_values(3)
.required(true),
)
.get_matches_from(args);