Fix missing '-' for the flags -s and -d on both manpage and usage.

Reported by:	garga, bde
This commit is contained in:
araujo 2016-11-09 04:42:09 +00:00
parent 88486f6ee1
commit 77e0cef532
2 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@
.\" @(#)hostname.1 8.2 (Berkeley) 4/28/95
.\" $FreeBSD$
.\"
.Dd November 9, 2016
.Dd November 10, 2016
.Dt HOSTNAME 1
.Os
.Sh NAME
@ -38,7 +38,7 @@
.Sh SYNOPSIS
.Nm
.Op Fl f
.Op Fl s|d
.Op Fl s | d
.Op Ar name-of-host
.Sh DESCRIPTION
The

View File

@ -108,6 +108,6 @@ static void
usage(void)
{
(void)fprintf(stderr, "usage: hostname [-f] [s|d] [name-of-host]\n");
(void)fprintf(stderr, "usage: hostname [-f] [-s | -d] [name-of-host]\n");
exit(1);
}