mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
Merge pull request #157 from Fiedzia/kill-cleanup
kill: pass params directly to show_error macro
This commit is contained in:
commit
9764c3220a
1 changed files with 1 additions and 2 deletions
|
@ -74,8 +74,7 @@ fn main() {
|
|||
let matches = match getopts(args.tail(), opts) {
|
||||
Ok(m) => m,
|
||||
Err(e) => {
|
||||
let msg = format!("{}\n{}", e.to_err_msg(), get_help_text(NAME, usage));
|
||||
show_error!(EXIT_ERR, "{}", msg);
|
||||
show_error!(EXIT_ERR, "{}\n{}", e.to_err_msg(), get_help_text(NAME, usage));
|
||||
return
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue