diff options
author | 2007-12-30 13:35:27 +0000 | |
---|---|---|
committer | 2007-12-30 13:35:27 +0000 | |
commit | df89ffdf7ed101698e00b8abebfa5e17ea2a08a0 (patch) | |
tree | 11145e2659370865b12638f73538eebf27480ccc | |
parent | lowercase "usage:"; align synopses (diff) | |
download | wireguard-openbsd-df89ffdf7ed101698e00b8abebfa5e17ea2a08a0.tar.xz wireguard-openbsd-df89ffdf7ed101698e00b8abebfa5e17ea2a08a0.zip |
add missing arguments to synopsis; fix brackets; lowercase "usage:"
ok jmc@
-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 |