Fix missing '-' for the flags -s and -d on both manpage and usage.
Reported by: garga, bde
This commit is contained in:
parent
3c9cab9453
commit
e7d88f5e13
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user