1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 03:27:44 +00: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:
Tai Sassen-Liang 2017-12-20 00:19:26 +01:00 committed by Tai Sassen-Liang
parent c386d5bfaf
commit c210d8d8c9

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.");