1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00

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

Reported by:	garga, bde
This commit is contained in:
Marcelo Araujo 2016-11-09 04:42:09 +00:00
parent 3c9cab9453
commit e7d88f5e13
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=308459
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);
}