1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

Merge pull request #157 from Fiedzia/kill-cleanup

kill: pass params directly to show_error macro
This commit is contained in:
Arcterus 2014-04-03 15:14:43 -07:00
commit 9764c3220a

View file

@ -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
},
};