mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
nice: set exit code for clap errors to 125
This commit is contained in:
parent
8df253da69
commit
1bb85acc71
2 changed files with 7 additions and 2 deletions
|
@ -58,3 +58,8 @@ fn test_command_where_command_takes_n_flag() {
|
|||
.run()
|
||||
.stdout_is("a");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_invalid_argument() {
|
||||
new_ucmd!().arg("--invalid").fails().code_is(125);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue