diff --git a/bin/hostname/hostname.1 b/bin/hostname/hostname.1 index 58545a33dcfa..5ee30d72a9dd 100644 --- a/bin/hostname/hostname.1 +++ b/bin/hostname/hostname.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: hostname.1,v 1.18 2013/07/19 10:34:51 roy Exp $ +.\" $NetBSD: hostname.1,v 1.19 2013/07/19 11:19:23 wiz Exp $ .\" .\" Copyright (c) 1983, 1988, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -37,7 +37,7 @@ .Nd set or print name of current host system .Sh SYNOPSIS .Nm -.Op Fl AadIifs +.Op Fl AadfIis .Op Ar name-of-host .Sh DESCRIPTION .Nm @@ -74,11 +74,11 @@ the other options will retrieve their results from the resolver. .Sh SEE ALSO .Xr domainname 1 , .Xr getaddrinfo 3 , -.Xr gethostname 3 , -.Xr sethostname 3 , .Xr gethostbyname 3 , +.Xr gethostname 3 , .Xr getifaddrs 3 , .Xr getnameinfo 3 , +.Xr sethostname 3 , .Xr hosts 5 .Sh HISTORY The diff --git a/bin/hostname/hostname.c b/bin/hostname/hostname.c index 532b6bc5ba92..a18b80bf0a0b 100644 --- a/bin/hostname/hostname.c +++ b/bin/hostname/hostname.c @@ -1,4 +1,4 @@ -/* $NetBSD: hostname.c,v 1.18 2013/07/19 10:34:51 roy Exp $ */ +/* $NetBSD: hostname.c,v 1.19 2013/07/19 11:19:23 wiz Exp $ */ /* * Copyright (c) 1988, 1993 @@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1988, 1993\ #if 0 static char sccsid[] = "@(#)hostname.c 8.2 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: hostname.c,v 1.18 2013/07/19 10:34:51 roy Exp $"); +__RCSID("$NetBSD: hostname.c,v 1.19 2013/07/19 11:19:23 wiz Exp $"); #endif #endif /* not lint */ @@ -199,7 +199,7 @@ main(int argc, char *argv[]) static void usage(void) { - (void)fprintf(stderr, "usage: %s [-AadIifs] [name-of-host]\n", + (void)fprintf(stderr, "usage: %s [-AadfIis] [name-of-host]\n", getprogname()); exit(1); /* NOTREACHED */