diff options
author | Igor Sobrado <sobrado@cvs.openbsd.org> | 2009-05-29 09:07:30 +0000 |
---|---|---|
committer | Igor Sobrado <sobrado@cvs.openbsd.org> | 2009-05-29 09:07:30 +0000 |
commit | d891a7c425d8f45a7c5ef5af8a82c5e77a6733a8 (patch) | |
tree | f301c18da421f1ebbce14cba11080d2634ac4be0 /usr.bin | |
parent | 8aa36a47b27324e7866296a1ba2cba8610b282b6 (diff) |
"input-file" is a required argument; while here, remove a few superfluous
spaces around the brackets and synchronize the argument names.
ok jmc@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/indent/indent.1 | 6 | ||||
-rw-r--r-- | usr.bin/indent/indent.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/indent/indent.1 b/usr.bin/indent/indent.1 index 519d2757410..9825328abed 100644 --- a/usr.bin/indent/indent.1 +++ b/usr.bin/indent/indent.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: indent.1,v 1.16 2007/05/31 19:20:11 jmc Exp $ +.\" $OpenBSD: indent.1,v 1.17 2009/05/29 09:07:29 sobrado Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 .\" The Regents of the University of California. @@ -32,7 +32,7 @@ .\" .\" from: @(#)indent.1 8.1 (Berkeley) 7/1/93 .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: May 29 2009 $ .Dt INDENT 1 .Os .Sh NAME @@ -41,7 +41,7 @@ .Sh SYNOPSIS .Nm indent .Bk -words -.Op Ar input-file Op Ar output-file +.Ar input-file Op Ar output-file .Op Fl bad | nbad .Op Fl bap | nbap .Op Fl bbb | nbbb diff --git a/usr.bin/indent/indent.c b/usr.bin/indent/indent.c index 49642d0c5fd..de972197758 100644 --- a/usr.bin/indent/indent.c +++ b/usr.bin/indent/indent.c @@ -1,4 +1,4 @@ -/* $OpenBSD: indent.c,v 1.18 2004/11/29 06:20:03 jsg Exp $ */ +/* $OpenBSD: indent.c,v 1.19 2009/05/29 09:07:29 sobrado Exp $ */ /* * Copyright (c) 1980, 1993 @@ -43,7 +43,7 @@ char copyright[] = #ifndef lint /*static char sccsid[] = "@(#)indent.c 5.17 (Berkeley) 6/7/93";*/ -static char rcsid[] = "$OpenBSD: indent.c,v 1.18 2004/11/29 06:20:03 jsg Exp $"; +static char rcsid[] = "$OpenBSD: indent.c,v 1.19 2009/05/29 09:07:29 sobrado Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -211,7 +211,7 @@ main(int argc, char **argv) set_option(argv[i]); } /* end of for */ if (input == NULL) { - fprintf(stderr, "usage: indent file [ outfile ] [ options ]\n"); + fprintf(stderr, "usage: indent input-file [output-file] [options]\n"); exit(1); } if (output == NULL) { |