1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-10 06:47:55 -08:00

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.
This commit is contained in:
schwarze 2015-09-25 17:50:53 +00:00
parent ef0ceadf89
commit cc710aa960
2 changed files with 5 additions and 7 deletions

View File

@ -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);

View File

@ -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