summaryrefslogtreecommitdiff
path: root/usr.bin/awk/main.c
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2000-11-21 14:08:23 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2000-11-21 14:08:23 +0000
commita66b5f198e4ba99435cdabdbb828463add744280 (patch)
tree48526a2d79e20a819ae82c6d2a860d16ee10e212 /usr.bin/awk/main.c
parent99336a183371358f825bc381ab6554f8da9a9af4 (diff)
Sync usage() output with man page; mpech@prosoft.org.lv
Diffstat (limited to 'usr.bin/awk/main.c')
-rw-r--r--usr.bin/awk/main.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/awk/main.c b/usr.bin/awk/main.c
index 52e0156924f..00a02677736 100644
--- a/usr.bin/awk/main.c
+++ b/usr.bin/awk/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.9 1999/12/08 23:09:45 millert Exp $ */
+/* $OpenBSD: main.c,v 1.10 2000/11/21 14:08:22 aaron Exp $ */
/****************************************************************
Copyright (C) Lucent Technologies 1997
All Rights Reserved
@@ -64,7 +64,9 @@ int main(int argc, char *argv[])
cmdname = __progname;
if (argc == 1) {
- fprintf(stderr, "Usage: %s [-f programfile | 'program'] [-Ffieldsep] [-v var=value] [-safe] [-mrn] [-mfn] [files]\n", cmdname);
+ fprintf(stderr, "usage: %s [-F fs] [-v var=value] [-safe] "
+ "[-mr n] [-mf n] [prog | -f progfile] file ...\n",
+ cmdname);
exit(1);
}
signal(SIGFPE, fpecatch);