diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2007-03-29 10:59:14 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2007-03-29 10:59:14 +0000 |
commit | 0b78bdba7b96a584caf82377c3ab0f5a17fad911 (patch) | |
tree | 259c67ef89f9e919af525a7a96b22b4f0be86fd8 /usr.bin/x99token | |
parent | 480a1d993cc568e5419e93dadf04ada23ecae47d (diff) |
tidy up SYNOPSIS and usage(); from Igor Sobrado
Diffstat (limited to 'usr.bin/x99token')
-rw-r--r-- | usr.bin/x99token/x99token.1 | 6 | ||||
-rw-r--r-- | usr.bin/x99token/x99token.c | 9 |
2 files changed, 9 insertions, 6 deletions
diff --git a/usr.bin/x99token/x99token.1 b/usr.bin/x99token/x99token.1 index c5b373ab872..739627b8d68 100644 --- a/usr.bin/x99token/x99token.1 +++ b/usr.bin/x99token/x99token.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: x99token.1,v 1.7 2003/06/10 09:12:13 jmc Exp $ +.\" $OpenBSD: x99token.1,v 1.8 2007/03/29 10:59:13 jmc Exp $ .\" .\" X9.9 calculator .\" This software is provided AS IS with no express or implied warranty @@ -15,9 +15,11 @@ .Sh SYNOPSIS .Nm x99token .Op Fl d -.Op Fl i .Op Fl k Ar keyfile .Op Fl n Ar count +.Nm x99token +.Fl i +.Op Fl k Ar keyfile .Sh DESCRIPTION The .Nm x99token diff --git a/usr.bin/x99token/x99token.c b/usr.bin/x99token/x99token.c index e8850db6474..b0353010013 100644 --- a/usr.bin/x99token/x99token.c +++ b/usr.bin/x99token/x99token.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x99token.c,v 1.6 2003/06/13 17:27:41 millert Exp $ */ +/* $OpenBSD: x99token.c,v 1.7 2007/03/29 10:59:13 jmc Exp $ */ /* * X9.9 calculator @@ -62,9 +62,10 @@ main(int argc, char **argv) err(1, "invalid count: %s", optarg); break; default: - fprintf(stderr, "usage: %s [-n cnt] [-h] [-k keyfile]\n" - " %s -i [-k keyfile]\n", __progname, - __progname); + fprintf(stderr, + "usage: %s [-d] [-k keyfile] [-n count]\n" + " %s -i [-k keyfile]\n", + __progname, __progname); exit(1); } } |