diff options
author | Igor Sobrado <sobrado@cvs.openbsd.org> | 2008-06-27 08:02:14 +0000 |
---|---|---|
committer | Igor Sobrado <sobrado@cvs.openbsd.org> | 2008-06-27 08:02:14 +0000 |
commit | dea5462cf723510acb9583980b330c563e9ac2c9 (patch) | |
tree | 7b4c733549c709e8fd76608c9bcfaf1fbe237bf4 | |
parent | 3b91a06c33092d681c3bfb8c0bf4c91bc72bdd80 (diff) |
sort flags; align usage output.
ok jmc@
-rw-r--r-- | usr.bin/cut/cut.1 | 6 | ||||
-rw-r--r-- | usr.bin/cut/cut.c | 10 |
2 files changed, 8 insertions, 8 deletions
diff --git a/usr.bin/cut/cut.1 b/usr.bin/cut/cut.1 index 4aeab30352a..5c05daddeb7 100644 --- a/usr.bin/cut/cut.1 +++ b/usr.bin/cut/cut.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: cut.1,v 1.12 2007/05/31 19:20:09 jmc Exp $ +.\" $OpenBSD: cut.1,v 1.13 2008/06/27 08:02:13 sobrado Exp $ .\" $NetBSD: cut.1,v 1.6 1995/10/02 20:19:26 jtc Exp $ .\" .\" Copyright (c) 1989, 1990, 1993 @@ -33,7 +33,7 @@ .\" .\" @(#)cut.1 8.1 (Berkeley) 6/6/93 .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: June 27 2008 $ .Dt CUT 1 .Os .Sh NAME @@ -49,8 +49,8 @@ .Op Ar .Nm cut .Fl f Ar list -.Op Fl d Ar delim .Op Fl s +.Op Fl d Ar delim .Op Ar .Sh DESCRIPTION The diff --git a/usr.bin/cut/cut.c b/usr.bin/cut/cut.c index 4ee62a96a8b..a43b0e9f28a 100644 --- a/usr.bin/cut/cut.c +++ b/usr.bin/cut/cut.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cut.c,v 1.12 2007/03/15 22:38:24 jmc Exp $ */ +/* $OpenBSD: cut.c,v 1.13 2008/06/27 08:02:13 sobrado Exp $ */ /* $NetBSD: cut.c,v 1.9 1995/09/02 05:59:23 jtc Exp $ */ /* @@ -43,7 +43,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)cut.c 8.3 (Berkeley) 5/4/95"; #endif -static char rcsid[] = "$OpenBSD: cut.c,v 1.12 2007/03/15 22:38:24 jmc Exp $"; +static char rcsid[] = "$OpenBSD: cut.c,v 1.13 2008/06/27 08:02:13 sobrado Exp $"; #endif /* not lint */ #include <ctype.h> @@ -283,8 +283,8 @@ void usage(void) { (void)fprintf(stderr, - "usage: cut -b list [-n] [file ...]\n" - "\tcut -c list [file ...]\n" - "\tcut -f list [-d delim] [-s] [file ...]\n"); + "usage: cut -b list [-n] [file ...]\n" + " cut -c list [file ...]\n" + " cut -f list [-s] [-d delim] [file ...]\n"); exit(1); } |