diff options
author | Mike Pritchard <mpp@FreeBSD.org> | 1996-12-09 08:10:45 +0000 |
---|---|---|
committer | Mike Pritchard <mpp@FreeBSD.org> | 1996-12-09 08:10:45 +0000 |
commit | 8bc3ddf57f95b8be12692eb1cc52d01bee4c7b1f (patch) | |
tree | 56f73489538fe989863c506f1d3cdbe2e5b867b5 /sbin | |
parent | 256835f230ebd45776681959bf4c69e27ded5245 (diff) | |
download | src-8bc3ddf57f95b8be12692eb1cc52d01bee4c7b1f.tar.gz src-8bc3ddf57f95b8be12692eb1cc52d01bee4c7b1f.zip |
Improve the format of the usage string output.
Submitted by: Sandro Sigala <sandro@cat.locao.net> as part of PR# 2134
Notes
Notes:
svn path=/head/; revision=20246
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/modload/modload.c | 8 | ||||
-rw-r--r-- | sbin/modunload/modunload.c | 5 |
2 files changed, 6 insertions, 7 deletions
diff --git a/sbin/modload/modload.c b/sbin/modload/modload.c index ee6ca0aad698..71dffc3a3d95 100644 --- a/sbin/modload/modload.c +++ b/sbin/modload/modload.c @@ -29,7 +29,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: modload.c,v 1.12 1996/08/13 00:43:01 pst Exp $ + * $Id: modload.c,v 1.13 1996/08/13 00:50:59 pst Exp $ */ #include <stdio.h> @@ -121,10 +121,10 @@ void usage() { - fprintf(stderr, "usage:\n"); - fprintf(stderr, "modload [-d] [-v] [-q] [-u] [-A <kernel>] [-e <entry]\n"); + fprintf(stderr, + "usage: modload [-d] [-v] [-q] [-u] [-A <kernel>] [-e <entry]\n"); fprintf(stderr, - "[-p <postinstall>] [-o <output file>] <input file>\n"); + " [-p <postinstall>] [-o <output file>] <input file>\n"); exit(1); } diff --git a/sbin/modunload/modunload.c b/sbin/modunload/modunload.c index 88689ff19ba3..b4593b3cf22a 100644 --- a/sbin/modunload/modunload.c +++ b/sbin/modunload/modunload.c @@ -29,7 +29,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: modunload.c,v 1.6 1994/05/23 05:42:58 cgd Exp $ + * $Id: modunload.c,v 1.1 1994/08/19 12:07:21 davidg Exp $ */ #include <stdio.h> @@ -50,8 +50,7 @@ void usage() { - fprintf(stderr, "usage:\n"); - fprintf(stderr, "modunload [-i <module id>] [-n <module name>]\n"); + fprintf(stderr, "usage: modunload [-i <module id>] [-n <module name>]\n"); exit(1); } |