summaryrefslogtreecommitdiffstats
path: root/bin/hostname/hostname.1
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1996-12-14 05:59:58 +0000
committersteve <steve@FreeBSD.org>1996-12-14 05:59:58 +0000
commit1dd75e9822783fc7d4286a38c101e10903d1fd11 (patch)
treee8209743dbc3d45345369caf50ae6399fbbda5a0 /bin/hostname/hostname.1
parent88dfe6ac44c03217ad1c86e9ce45937a36eda99d (diff)
downloadFreeBSD-src-1dd75e9822783fc7d4286a38c101e10903d1fd11.zip
FreeBSD-src-1dd75e9822783fc7d4286a38c101e10903d1fd11.tar.gz
Merge Lite2 mods, -Wall cleaning, and show usage if
incorrectly called. Incorrect usage mod obtained from: NetBSD
Diffstat (limited to 'bin/hostname/hostname.1')
-rw-r--r--bin/hostname/hostname.110
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/hostname/hostname.1 b/bin/hostname/hostname.1
index 68548f7..379d9ef 100644
--- a/bin/hostname/hostname.1
+++ b/bin/hostname/hostname.1
@@ -29,10 +29,10 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" @(#)hostname.1 8.1 (Berkeley) 5/31/93
-.\" $Id: hostname.1,v 1.2 1994/09/24 02:55:40 davidg Exp $
+.\" @(#)hostname.1 8.2 (Berkeley) 4/28/95
+.\" $Id: hostname.1,v 1.3 1996/02/11 22:33:13 mpp Exp $
.\"
-.Dd May 31, 1993
+.Dd April 28, 1995
.Dt HOSTNAME 1
.Os BSD 4.2
.Sh NAME
@@ -41,9 +41,9 @@
.Sh SYNOPSIS
.Nm hostname
.Op Fl s
-.Op Ar nameofhost
+.Op Ar name-of-host
.Sh DESCRIPTION
-.Nm Hostname
+.Nm
prints the name of the current host. The super-user can
set the hostname by supplying an argument; this is usually done in the
network initialization script
OpenPOWER on IntegriCloud