From: Keith Bostic Date: Sun, 15 Nov 1987 03:57:40 +0000 (-0800) Subject: put in standard illegal option message X-Git-Tag: BSD-4_3_Net_1-Snapshot-Development~3346 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/37437abe54ab789d24a8b1f19a075b097c5c0552 put in standard illegal option message SCCS-vsn: usr.bin/man/man.c 5.9 --- diff --git a/usr/src/usr.bin/man/man.c b/usr/src/usr.bin/man/man.c index 1050116aaf..5600d2e92e 100644 --- a/usr/src/usr.bin/man/man.c +++ b/usr/src/usr.bin/man/man.c @@ -11,7 +11,7 @@ char copyright[] = #endif not lint #ifndef lint -static char sccsid[] = "@(#)man.c 5.8 (Berkeley) %G%"; +static char sccsid[] = "@(#)man.c 5.9 (Berkeley) %G%"; #endif not lint #include @@ -117,6 +117,7 @@ main(argc, argv) break; case '?': default: + fprintf(stderr, "man: illegal option -- %c\n", (*argv)[1]); usage(); } if (!argc)