From 3c98dc1bc5836dda6facba728607c5d6eeaaccaf Mon Sep 17 00:00:00 2001 From: MarcusGrass Date: Tue, 10 Jun 2025 20:35:32 +0200 Subject: [PATCH] feat: make `-V` on main binary also output version information --- src/bin/coreutils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/coreutils.rs b/src/bin/coreutils.rs index 50a97d6d0..da318d741 100644 --- a/src/bin/coreutils.rs +++ b/src/bin/coreutils.rs @@ -145,7 +145,7 @@ fn main() { } process::exit(0); } - "--version" => { + "--version" | "-V" => { println!("{binary_as_util} {VERSION} (multi-call binary)"); process::exit(0); }