summaryrefslogtreecommitdiff
path: root/usr.bin/awk
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2007-01-29 19:40:07 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2007-01-29 19:40:07 +0000
commiteec1b31c7218e8a539e3dec06d6280b7fb7a6420 (patch)
tree720aec97b4394c8e7edac45889be8eba3524ac15 /usr.bin/awk
parentf95ff62e5a5a7b24845eedbde843903084e1933a (diff)
sync usage(); spotted by Igor Sobrado
Diffstat (limited to 'usr.bin/awk')
-rw-r--r--usr.bin/awk/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/awk/main.c b/usr.bin/awk/main.c
index 6dc93f9709b..b0c86c5fc78 100644
--- a/usr.bin/awk/main.c
+++ b/usr.bin/awk/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.13 2004/12/30 01:52:48 millert Exp $ */
+/* $OpenBSD: main.c,v 1.14 2007/01/29 19:40:06 jmc Exp $ */
/****************************************************************
Copyright (C) Lucent Technologies 1997
All Rights Reserved
@@ -63,8 +63,8 @@ int main(int argc, char *argv[])
setlocale(LC_NUMERIC, "C"); /* for parsing cmdline & prog */
cmdname = __progname;
if (argc == 1) {
- fprintf(stderr, "usage: %s [-F fs] [-v var=value] [-safe] "
- "[-mr n] [-mf n] [prog | -f progfile] file ...\n",
+ fprintf(stderr, "usage: %s [-safe] [-V] [-d[n]] [-F fs] "
+ "[-v var=value] [prog | -f progfile]\n\tfile ...\n",
cmdname);
exit(1);
}