mirror of
https://github.com/uutils/coreutils.git
synced 2025-07-07 21:45:01 +00:00
feat: make -V
on main binary also output version information
This commit is contained in:
parent
c8983aff97
commit
3c98dc1bc5
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ fn main() {
|
||||||
}
|
}
|
||||||
process::exit(0);
|
process::exit(0);
|
||||||
}
|
}
|
||||||
"--version" => {
|
"--version" | "-V" => {
|
||||||
println!("{binary_as_util} {VERSION} (multi-call binary)");
|
println!("{binary_as_util} {VERSION} (multi-call binary)");
|
||||||
process::exit(0);
|
process::exit(0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue