mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 12:07:46 +00:00
comm: exit with status 1 on invalid arguments
This commit is contained in:
parent
81a88e94d5
commit
ea18515855
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ pub fn uumain(args: Vec<String>) -> int {
|
|||
println!("");
|
||||
print(getopts::usage("Compare sorted files line by line.", opts.as_slice()).as_slice());
|
||||
if matches.free.len() != 2 {
|
||||
return 0;
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue