summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2015-07-21 10:17:43 +0100
committerPádraig Brady <P@draigBrady.com>2015-07-22 01:55:14 +0100
commit6d67649d86a0dcfefb4dfbc0c29f8bb7595f14bb (patch)
tree5d37cd4d4e767c6aa23184c9e41d9614d1c2fe47 /src
parent0b0d38b762a293ea7c3427750d525a3ec235787c (diff)
downloadcoreutils-6d67649d86a0dcfefb4dfbc0c29f8bb7595f14bb.tar.xz
doc: discourage use of uname -i and -p options
* src/uname.c (usage): State that the non POSIX -i and -p options are non-portable. * doc/coreutils.texi (uname invocation): Mention the discrepancies even across GNU/Linux distros, and that the results should be used as informational only, rather than impacting any logic decisions. Fixes http://bugs.gnu.org/13001
Diffstat (limited to 'src')
-rw-r--r--src/uname.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/uname.c b/src/uname.c
index 39bd28c74..af83a5461 100644
--- a/src/uname.c
+++ b/src/uname.c
@@ -133,8 +133,8 @@ Print certain system information. With no OPTION, same as -s.\n\
fputs (_("\
-v, --kernel-version print the kernel version\n\
-m, --machine print the machine hardware name\n\
- -p, --processor print the processor type or \"unknown\"\n\
- -i, --hardware-platform print the hardware platform or \"unknown\"\n\
+ -p, --processor print the processor type (non-portable)\n\
+ -i, --hardware-platform print the hardware platform (non-portable)\n\
-o, --operating-system print the operating system\n\
"), stdout);
}