mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 19:17:43 +00:00
Removed manual checks to just using clap instead
Also added tests for this. Signed-off-by: Hanif Bin Ariffin <hanif.ariffin.4326@gmail.com>
This commit is contained in:
parent
c4c6819dae
commit
199b4e437b
1 changed files with 1 additions and 0 deletions
|
@ -364,6 +364,7 @@ pub fn uu_app() -> App<'static, 'static> {
|
|||
Arg::with_name(options::SETS)
|
||||
.multiple(true)
|
||||
.takes_value(true)
|
||||
.min_values(1)
|
||||
.max_values(2),
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue