summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ndp
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2013-10-21 12:41:52 +0000
committerjmc <jmc@openbsd.org>2013-10-21 12:41:52 +0000
commitf6fe3c1296a32fa80d29bf973759016dfb093d1a (patch)
tree0eaba13328e682d6b699245d2652dfae0e79bc93 /usr.sbin/ndp
parentRemove comment regarding BSDI. (diff)
downloadwireguard-openbsd-f6fe3c1296a32fa80d29bf973759016dfb093d1a.tar.xz
wireguard-openbsd-f6fe3c1296a32fa80d29bf973759016dfb093d1a.zip
- -V after -t
- fix usage()
Diffstat (limited to 'usr.sbin/ndp')
-rw-r--r--usr.sbin/ndp/ndp.88
-rw-r--r--usr.sbin/ndp/ndp.c10
2 files changed, 9 insertions, 9 deletions
diff --git a/usr.sbin/ndp/ndp.8 b/usr.sbin/ndp/ndp.8
index cd02c1aeb6d..0cfec283c95 100644
--- a/usr.sbin/ndp/ndp.8
+++ b/usr.sbin/ndp/ndp.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ndp.8,v 1.30 2013/10/21 08:46:06 phessler Exp $
+.\" $OpenBSD: ndp.8,v 1.31 2013/10/21 12:41:52 jmc Exp $
.\" $KAME: ndp.8,v 1.28 2002/07/17 08:46:33 itojun Exp $
.\"
.\" Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -198,15 +198,15 @@ is given, this system will act as a proxy NDP server,
responding to requests for
.Ar hostname
even though the host address is not its own.
-.It Fl V Ar rdomain
-Set the routing domain to be used.
-The default is 0.
.It Fl t
Print a timestamp on each entry,
making it possible to merge output with
.Xr tcpdump 8 .
Most useful when used with
.Fl A .
+.It Fl V Ar rdomain
+Set the routing domain to be used.
+The default is 0.
.El
.Sh EXIT STATUS
.Ex -std ndp
diff --git a/usr.sbin/ndp/ndp.c b/usr.sbin/ndp/ndp.c
index 1990a678cde..3c387bd2495 100644
--- a/usr.sbin/ndp/ndp.c
+++ b/usr.sbin/ndp/ndp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ndp.c,v 1.52 2013/10/21 08:46:07 phessler Exp $ */
+/* $OpenBSD: ndp.c,v 1.53 2013/10/21 12:41:52 jmc Exp $ */
/* $KAME: ndp.c,v 1.101 2002/07/17 08:46:33 itojun Exp $ */
/*
@@ -808,10 +808,10 @@ void
usage(void)
{
printf("usage: ndp [-nrt] [-a | -c | -p] [-H | -P | -R] ");
- printf("[-A wait] [-d hostname] [-V rdomain]\n");
- printf("\t[-f filename] ");
- printf("[-i interface [flag ...]]\n");
- printf("\t[-s nodename etheraddr [temp] [proxy]] [hostname]\n");
+ printf("[-A wait] [-d hostname]\n");
+ printf("\t[-f filename] [-i interface [flag ...]]\n");
+ printf("\t[-s nodename etheraddr [temp] [proxy]] ");
+ printf("[-V rdomain] [hostname]\n");
exit(1);
}