diff options
author | Marcelo Araujo <araujo@FreeBSD.org> | 2016-11-09 04:42:09 +0000 |
---|---|---|
committer | Marcelo Araujo <araujo@FreeBSD.org> | 2016-11-09 04:42:09 +0000 |
commit | e7d88f5e132034c95934689f5228506b2ec21796 (patch) | |
tree | 4c0b8a8ca8eafbb67334d2154f31408bd277c232 /bin | |
parent | 3c9cab9453d986c50861323d02ef6b0970450091 (diff) | |
download | src-e7d88f5e132034c95934689f5228506b2ec21796.tar.gz src-e7d88f5e132034c95934689f5228506b2ec21796.zip |
Fix missing '-' for the flags -s and -d on both manpage and usage.
Reported by: garga, bde
Notes
Notes:
svn path=/head/; revision=308459
Diffstat (limited to 'bin')
-rw-r--r-- | bin/hostname/hostname.1 | 4 | ||||
-rw-r--r-- | bin/hostname/hostname.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/bin/hostname/hostname.1 b/bin/hostname/hostname.1 index 73255d280041..4da9f63044cb 100644 --- a/bin/hostname/hostname.1 +++ b/bin/hostname/hostname.1 @@ -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 diff --git a/bin/hostname/hostname.c b/bin/hostname/hostname.c index 3b07b8b5f537..85b692eccdc4 100644 --- a/bin/hostname/hostname.c +++ b/bin/hostname/hostname.c @@ -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); } |