mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
uname: change sysname flag to kernel-name
The --sysname flag in GNU uname was deprecated in 2002 and replaced by --kernel-name.
This commit is contained in:
committed by
Tai Sassen-Liang
parent
c386d5bfaf
commit
c210d8d8c9
+1
-1
@@ -37,7 +37,7 @@ pub fn uumain(args: Vec<String>) -> i32 {
|
||||
opts.optflag("a",
|
||||
"all",
|
||||
"Behave as though all of the options -mnrsv were specified.");
|
||||
opts.optflag("s", "sysname", "print the operating system name.");
|
||||
opts.optflag("s", "kernel-name", "print the operating system name.");
|
||||
opts.optflag("n", "nodename", "print the nodename (the nodename may be a name that the system is known by to a communications network).");
|
||||
opts.optflag("r", "kernel-release", "print the operating system release.");
|
||||
opts.optflag("v", "kernel-version", "print the operating system version.");
|
||||
|
||||
Reference in New Issue
Block a user