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:
parent
6ccc305513
commit
c78cc65421
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue