Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/cut Sync usage with man page synopsis. From Ryan You...
details: https://anonhg.NetBSD.org/src/rev/52f21f97d9fa
branches: trunk
changeset: 526850:52f21f97d9fa
user: wiz <wiz%NetBSD.org@localhost>
date: Sun May 12 21:28:50 2002 +0000
description:
Sync usage with man page synopsis. From Ryan Younce in bin/16644, with
slight changes.
diffstat:
usr.bin/cut/cut.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 500d4528f029 -r 52f21f97d9fa usr.bin/cut/cut.c
--- a/usr.bin/cut/cut.c Sun May 12 20:42:03 2002 +0000
+++ b/usr.bin/cut/cut.c Sun May 12 21:28:50 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cut.c,v 1.13 1998/11/06 23:07:39 christos Exp $ */
+/* $NetBSD: cut.c,v 1.14 2002/05/12 21:28:50 wiz Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -46,7 +46,7 @@
#if 0
static char sccsid[] = "@(#)cut.c 8.3 (Berkeley) 5/4/95";
#endif
-__RCSID("$NetBSD: cut.c,v 1.13 1998/11/06 23:07:39 christos Exp $");
+__RCSID("$NetBSD: cut.c,v 1.14 2002/05/12 21:28:50 wiz Exp $");
#endif /* not lint */
#include <ctype.h>
@@ -283,7 +283,8 @@
void
usage()
{
- (void)fprintf(stderr,
-"usage:\tcut -c list [file1 ...]\n\tcut -f list [-s] [-d delim] [file ...]\n");
+ (void)fprintf(stderr, "usage:\tcut -b list [-n] [file ...]\n"
+ "\tcut -c list [file1 ...]\n"
+ "\tcut -f list [-d delim] [-s] [file ...]\n");
exit(1);
}
Home |
Main Index |
Thread Index |
Old Index