diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2007-02-20 13:55:18 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2007-02-20 13:55:18 +0000 |
commit | 37ce2350489d6859edc2e7b72acc92eec3c9b84a (patch) | |
tree | faf2b78f2187f9eebf5d519c80cfc4e2b5f5d8b1 /sbin | |
parent | 8cc97ed4bef6d2245a9c7a1316826071a34e8048 (diff) |
simplify synopsis and usage(); from Igor Sobrado
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/fsirand/fsirand.8 | 9 | ||||
-rw-r--r-- | sbin/fsirand/fsirand.c | 6 |
2 files changed, 6 insertions, 9 deletions
diff --git a/sbin/fsirand/fsirand.8 b/sbin/fsirand/fsirand.8 index 882294e1c64..7c9c3b2f0f1 100644 --- a/sbin/fsirand/fsirand.8 +++ b/sbin/fsirand/fsirand.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: fsirand.8,v 1.27 2003/07/30 22:29:32 millert Exp $ +.\" $OpenBSD: fsirand.8,v 1.28 2007/02/20 13:55:17 jmc Exp $ .\" .\" Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com> .\" @@ -22,11 +22,8 @@ .Nd randomize inode generation numbers .Sh SYNOPSIS .Nm fsirand -.Op Fl b -.Op Fl f -.Op Fl p -.Ar special -.Op Ar ... +.Op Fl bfp +.Ar special ... .Sh DESCRIPTION The .Nm diff --git a/sbin/fsirand/fsirand.c b/sbin/fsirand/fsirand.c index 24a4c0d8680..13844c42472 100644 --- a/sbin/fsirand/fsirand.c +++ b/sbin/fsirand/fsirand.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fsirand.c,v 1.22 2004/09/14 22:11:35 deraadt Exp $ */ +/* $OpenBSD: fsirand.c,v 1.23 2007/02/20 13:55:17 jmc Exp $ */ /* * Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com> @@ -17,7 +17,7 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: fsirand.c,v 1.22 2004/09/14 22:11:35 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: fsirand.c,v 1.23 2007/02/20 13:55:17 jmc Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -274,7 +274,7 @@ fsirand(char *device) void usage(int ex) { - (void)fprintf(stderr, "Usage: %s [ -b ] [ -f ] [ -p ] special [special ...]\n", + (void)fprintf(stderr, "usage: %s [-bfp] special ...\n", __progname); exit(ex); } |