summaryrefslogtreecommitdiff
path: root/usr.bin/sort/sort.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/sort/sort.c')
-rw-r--r--usr.bin/sort/sort.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.bin/sort/sort.c b/usr.bin/sort/sort.c
index 242abc1f7c4..d5f329f963e 100644
--- a/usr.bin/sort/sort.c
+++ b/usr.bin/sort/sort.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sort.c,v 1.26 2005/09/27 23:40:07 dlg Exp $ */
+/* $OpenBSD: sort.c,v 1.27 2005/09/28 10:10:16 jmc Exp $ */
/*-
* Copyright (c) 1993
@@ -42,7 +42,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)sort.c 8.1 (Berkeley) 6/6/93";
#else
-static char rcsid[] = "$OpenBSD: sort.c,v 1.26 2005/09/27 23:40:07 dlg Exp $";
+static char rcsid[] = "$OpenBSD: sort.c,v 1.27 2005/09/28 10:10:16 jmc Exp $";
#endif
#endif /* not lint */
@@ -335,7 +335,8 @@ usage(char *msg)
if (msg != NULL)
warnx("%s", msg);
- (void)fprintf(stderr, "usage: %s [-T dir] [-o output] [-cmubdfinrHz] "
- "[-t char] [-R char] [-k keydef] ... [files]\n", __progname);
+ (void)fprintf(stderr, "usage: %s [-bcdfHimnruz] "
+ "[-k field1[,field2] ...] [-o output] [-R char]\n"
+ "\t[-T dir] [-t char] [file ...]\n", __progname);
exit(2);
}