diff options
author | Igor Sobrado <sobrado@cvs.openbsd.org> | 2007-12-30 13:35:28 +0000 |
---|---|---|
committer | Igor Sobrado <sobrado@cvs.openbsd.org> | 2007-12-30 13:35:28 +0000 |
commit | 60b91c352f6d2e1f1f3bb1062224d9e28c0a4e82 (patch) | |
tree | 7b06fb9b0e436f34894a4f458bb5008d027e8516 /usr.bin/sectok | |
parent | c227fe1f20003b9821fadba9b9b476fe06151514 (diff) |
add missing arguments to synopsis; fix brackets; lowercase "usage:"
ok jmc@
Diffstat (limited to 'usr.bin/sectok')
-rw-r--r-- | usr.bin/sectok/cyberflex.c | 4 | ||||
-rw-r--r-- | usr.bin/sectok/main.c | 4 | ||||
-rw-r--r-- | usr.bin/sectok/sectok.1 | 5 |
3 files changed, 7 insertions, 6 deletions
diff --git a/usr.bin/sectok/cyberflex.c b/usr.bin/sectok/cyberflex.c index 302e0908dcb..31233a18a67 100644 --- a/usr.bin/sectok/cyberflex.c +++ b/usr.bin/sectok/cyberflex.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cyberflex.c,v 1.27 2006/12/06 05:03:29 ray Exp $ */ +/* $OpenBSD: cyberflex.c,v 1.28 2007/12/30 13:35:27 sobrado Exp $ */ /* * copyright 1999, 2000 @@ -938,7 +938,7 @@ cyberflex_load_key(int fd, u_char *buf) token = strtok(buf, DELIMITER); token = strtok(NULL, DELIMITER); if (token == NULL) { - printf("Usage: jk number_of_keys\n"); + printf("usage: jk number_of_keys\n"); return -1; } argc = atoi(token); diff --git a/usr.bin/sectok/main.c b/usr.bin/sectok/main.c index d0085816ad0..5eca56468bc 100644 --- a/usr.bin/sectok/main.c +++ b/usr.bin/sectok/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.9 2003/08/04 17:06:46 deraadt Exp $ */ +/* $OpenBSD: main.c,v 1.10 2007/12/30 13:35:27 sobrado Exp $ */ /* * Smartcard commander. @@ -59,7 +59,7 @@ static void usage(void) { fprintf(stderr, - "usage: sectok [-0123] [-f scriptfile] [-s sleeptime] [cmd] [args]\n"); + "usage: sectok [-0123] [-f scriptfile] [-s sleeptime] [command [arg ...]]\n"); exit(1); } diff --git a/usr.bin/sectok/sectok.1 b/usr.bin/sectok/sectok.1 index 05b89f714f6..acdc892635f 100644 --- a/usr.bin/sectok/sectok.1 +++ b/usr.bin/sectok/sectok.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sectok.1,v 1.13 2007/05/31 19:20:15 jmc Exp $ +.\" $OpenBSD: sectok.1,v 1.14 2007/12/30 13:35:27 sobrado Exp $ .\" .\" Copyright (C) 2001, Jakob Schlyter. All rights reserved. .\" @@ -26,7 +26,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: December 30 2007 $ .Dt SECTOK 1 .Os .\" @@ -39,6 +39,7 @@ .Op Fl 0123 .Op Fl f Ar scriptfile .Op Fl s Ar sleeptime +.Op Ar command Op Ar arg ... .\" .Sh DESCRIPTION .Nm |