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:
parent
c386d5bfaf
commit
c210d8d8c9
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ pub fn uumain(args: Vec<String>) -> i32 {
|
||||||
opts.optflag("a",
|
opts.optflag("a",
|
||||||
"all",
|
"all",
|
||||||
"Behave as though all of the options -mnrsv were specified.");
|
"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("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("r", "kernel-release", "print the operating system release.");
|
||||||
opts.optflag("v", "kernel-version", "print the operating system version.");
|
opts.optflag("v", "kernel-version", "print the operating system version.");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue