summaryrefslogtreecommitdiffstats
path: root/usr.bin/uname/uname.1
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2010-01-26 20:02:53 +0000
committeremaste <emaste@FreeBSD.org>2010-01-26 20:02:53 +0000
commitbf00a8f9cee5fcc9bf83f86f12a91079c4ce287e (patch)
tree54404723d113dcd0c3f7c73815983aca7a463c37 /usr.bin/uname/uname.1
parent5f00b658cb1e376af0d3476125b32a1757b7cbd6 (diff)
downloadFreeBSD-src-bf00a8f9cee5fcc9bf83f86f12a91079c4ce287e.zip
FreeBSD-src-bf00a8f9cee5fcc9bf83f86f12a91079c4ce287e.tar.gz
Allow -o as a synonym for -s, for compatibility with other systems.
Using -s is preferred, but some existing scripts and makefiles expect to get the system name from uname -o. Reviewed by: imp
Diffstat (limited to 'usr.bin/uname/uname.1')
-rw-r--r--usr.bin/uname/uname.16
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/uname/uname.1 b/usr.bin/uname/uname.1
index 2a28464..332ce6e 100644
--- a/usr.bin/uname/uname.1
+++ b/usr.bin/uname/uname.1
@@ -32,7 +32,7 @@
.\" @(#)uname.1 8.3 (Berkeley) 4/8/94
.\" $FreeBSD$
.\"
-.Dd April 2, 2003
+.Dd January 26, 2010
.Dt UNAME 1
.Os
.Sh NAME
@@ -63,6 +63,10 @@ Write the kernel ident to standard output.
Write the type of the current hardware platform to standard output.
.It Fl n
Write the name of the system to standard output.
+.It Fl o
+This is a synonym for the
+.Fl s
+option, for compatibility with other systems.
.It Fl p
Write the type of the machine processor architecture to standard output.
.It Fl r
OpenPOWER on IntegriCloud