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:
Tai Sassen-Liang
2017-12-27 11:24:29 +01:00
committed by Tai Sassen-Liang
parent c386d5bfaf
commit c210d8d8c9
+1 -1
View File
@@ -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.");