From 15907716f065f3a7bf74a70c24a7f5d135bdedcd Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Fri, 25 Sep 2015 17:50:54 +0000 Subject: 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. --- games/hunt/huntd/driver.c | 4 ++-- games/hunt/huntd/huntd.6 | 8 +++----- 2 files changed, 5 insertions(+), 7 deletions(-) (limited to 'games/hunt') 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 -- cgit v1.2.3