diff options
author | mpp <mpp@FreeBSD.org> | 1996-12-09 08:10:45 +0000 |
---|---|---|
committer | mpp <mpp@FreeBSD.org> | 1996-12-09 08:10:45 +0000 |
commit | 316f6be0fa40f1f38890e5f7030d808f4de39e18 (patch) | |
tree | 56f73489538fe989863c506f1d3cdbe2e5b867b5 /sbin | |
parent | 6c8b1af21eebb1fe0653e3aa5728cb8599b8cde2 (diff) | |
download | FreeBSD-src-316f6be0fa40f1f38890e5f7030d808f4de39e18.zip FreeBSD-src-316f6be0fa40f1f38890e5f7030d808f4de39e18.tar.gz |
Improve the format of the usage string output.
Submitted by: Sandro Sigala <sandro@cat.locao.net> as part of PR# 2134
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 ee6ca0a..71dffc3 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 88689ff..b4593b3 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); } |