summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2015-09-25 17:50:53 +0000
committerschwarze <schwarze@openbsd.org>2015-09-25 17:50:53 +0000
commitcc710aa960daeaaf1d5d4ff59a7d1c1d3f28cbb3 (patch)
treec0287676037c933e70397532c8f0a34f3bb9cf73
parentSince bin/ps/keyword.c 1.30 five years ago, ps -O paddr prints the complete (diff)
downloadwireguard-openbsd-cc710aa960daeaaf1d5d4ff59a7d1c1d3f28cbb3.tar.xz
wireguard-openbsd-cc710aa960daeaaf1d5d4ff59a7d1c1d3f28cbb3.zip
Fix -D in the synopsis line:
* Whitespace is allowed between -D and the variable name. * Each -D option only takes one single assignment. * Drop excessive .Sm macro.
-rw-r--r--games/hunt/huntd/driver.c4
-rw-r--r--games/hunt/huntd/huntd.68
2 files changed, 5 insertions, 7 deletions
diff --git a/games/hunt/huntd/driver.c b/games/hunt/huntd/driver.c
index 905c19d33b9..f46b71acbc1 100644
--- a/games/hunt/huntd/driver.c
+++ b/games/hunt/huntd/driver.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: driver.c,v 1.21 2014/03/23 02:42:47 tedu Exp $ */
+/* $OpenBSD: driver.c,v 1.22 2015/09/25 17:50:53 schwarze Exp $ */
/* $NetBSD: driver.c,v 1.5 1997/10/20 00:37:16 lukem Exp $ */
/*
* Copyright (c) 1983-2003, Regents of the University of California.
@@ -125,7 +125,7 @@ main(ac, av)
default:
erred:
fprintf(stderr,
- "usage: %s [-bs] [-a addr] [-Dvar=value ...] "
+ "usage: %s [-bs] [-a addr] [-D var=value] "
"[-p port]\n",
av[0]);
exit(2);
diff --git a/games/hunt/huntd/huntd.6 b/games/hunt/huntd/huntd.6
index e093d97323c..b8ea31d7fc3 100644
--- a/games/hunt/huntd/huntd.6
+++ b/games/hunt/huntd/huntd.6
@@ -1,5 +1,5 @@
.\" $NetBSD: huntd.6,v 1.3 1998/01/09 08:03:42 perry Exp $
-.\" $OpenBSD: huntd.6,v 1.24 2014/09/26 21:41:56 schwarze Exp $
+.\" $OpenBSD: huntd.6,v 1.25 2015/09/25 17:50:53 schwarze Exp $
.\"
.\" Hunt
.\" Copyright (c) 1985 Conrad C. Huang, Gregory S. Couch, Kenneth C.R.C. Arnold
@@ -9,7 +9,7 @@
.\" All rights reserved. The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
-.Dd $Mdocdate: September 26 2014 $
+.Dd $Mdocdate: September 25 2015 $
.Dt HUNTD 6
.Os
.Sh NAME
@@ -19,9 +19,7 @@
.Nm huntd
.Op Fl bs
.Op Fl a Ar addr
-.Sm off
-.Op Fl D Ar var No = Ar value ...
-.Sm on
+.Op Fl D Ar var Ns = Ns Ar value
.Op Fl p Ar port
.Sh DESCRIPTION
.Nm