From c210d8d8c910c21dbd28bcf87584145ad3b4ecb8 Mon Sep 17 00:00:00 2001 From: Tai Sassen-Liang Date: Wed, 20 Dec 2017 00:19:26 +0100 Subject: [PATCH] uname: change sysname flag to kernel-name The --sysname flag in GNU uname was deprecated in 2002 and replaced by --kernel-name. --- src/uname/uname.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uname/uname.rs b/src/uname/uname.rs index db5723d8c..613a1a813 100644 --- a/src/uname/uname.rs +++ b/src/uname/uname.rs @@ -37,7 +37,7 @@ pub fn uumain(args: Vec) -> 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.");