1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

seq: make arguments required

Right now seq panics when invoked without args.
This commit is contained in:
Michael Debertol 2021-05-31 20:53:25 +02:00
parent 6ccc305513
commit c78cc65421

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);