diff options
author | 2000-11-21 13:42:23 +0000 | |
---|---|---|
committer | 2000-11-21 13:42:23 +0000 | |
commit | 588b1875262ca99cc02cc6cc9f38e49bad59709f (patch) | |
tree | 886eadbf4783c43fe282bb6f3783b9a093e9a0a0 | |
parent | Sync usage() output with man page; mpech@prosoft.org.lv (diff) | |
download | wireguard-openbsd-588b1875262ca99cc02cc6cc9f38e49bad59709f.tar.xz wireguard-openbsd-588b1875262ca99cc02cc6cc9f38e49bad59709f.zip |
Sync usage() output with man page; mpech@prosoft.org.lv
-rw-r--r-- | usr.bin/checknr/checknr.1 | 9 | ||||
-rw-r--r-- | usr.bin/checknr/checknr.c | 8 |
2 files changed, 9 insertions, 8 deletions
diff --git a/usr.bin/checknr/checknr.1 b/usr.bin/checknr/checknr.1 index ee8a5b04d5f..5944667ab61 100644 --- a/usr.bin/checknr/checknr.1 +++ b/usr.bin/checknr/checknr.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: checknr.1,v 1.9 2000/11/10 05:10:21 aaron Exp $ +.\" $OpenBSD: checknr.1,v 1.10 2000/11/21 13:42:23 aaron Exp $ .\" $NetBSD: checknr.1,v 1.5 1995/03/26 04:10:14 glass Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 @@ -42,11 +42,10 @@ .Nd check nroff/troff files .Sh SYNOPSIS .Nm checknr +.Op Fl sf .Op Fl a Ns Ar \&.x1.y1.x2.y2. ... \&.xn.yn -.Op Fl c Ns Ar \&.x1.x2.x3 ... \&.xn -.Op Fl s -.Op Fl f -.Ar file +.Op Fl c Ns Ar \&.x1.x2.x3. ... \&.xn +.Op Ar file .Sh DESCRIPTION .Nm checks a list of diff --git a/usr.bin/checknr/checknr.c b/usr.bin/checknr/checknr.c index 114209d552b..b46a2696aef 100644 --- a/usr.bin/checknr/checknr.c +++ b/usr.bin/checknr/checknr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: checknr.c,v 1.2 1996/06/26 05:31:50 deraadt Exp $ */ +/* $OpenBSD: checknr.c,v 1.3 2000/11/21 13:42:23 aaron Exp $ */ /* $NetBSD: checknr.c,v 1.4 1995/03/26 04:10:19 glass Exp $ */ /* @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)checknr.c 8.1 (Berkeley) 6/6/93"; #else -static char rcsid[] = "$OpenBSD: checknr.c,v 1.2 1996/06/26 05:31:50 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: checknr.c,v 1.3 2000/11/21 13:42:23 aaron Exp $"; #endif #endif /* not lint */ @@ -263,7 +263,9 @@ char **argv; usage() { - printf("Usage: checknr -s -f -a.xx.yy.xx.yy... -c.xx.xx.xx...\n"); + (void)fprintf(stderr, + "usage: checknr [-sf] [-a.x1.y1.x2.y2. ... .xn.yn] " + "[-c.x1.x2.x3. ... .xn] [file]\n"); exit(1); } |