diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-08-09 18:35:38 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-08-09 18:35:38 +0000 |
commit | 7dbabe84e4c8db14bdebccf6d843cb51ca88ca1d (patch) | |
tree | a1ef754c1d4ed612d6a4a238f268719605d19761 | |
parent | 3dadb349eb729047151f25733a3a262c18a7d930 (diff) | |
download | rtmux-7dbabe84e4c8db14bdebccf6d843cb51ca88ca1d.tar.gz rtmux-7dbabe84e4c8db14bdebccf6d843cb51ca88ca1d.tar.bz2 rtmux-7dbabe84e4c8db14bdebccf6d843cb51ca88ca1d.zip |
Missing options are not illegal.
-rw-r--r-- | compat/getopt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compat/getopt.c b/compat/getopt.c index 9798e4e0..1e4769d6 100644 --- a/compat/getopt.c +++ b/compat/getopt.c @@ -1,4 +1,4 @@ -/* $Id: getopt.c,v 1.1 2009-05-13 22:20:48 nicm Exp $ */ +/* $Id: getopt.c,v 1.2 2009-08-09 18:35:38 nicm Exp $ */ /* * Copyright (c) 1987, 1993, 1994 @@ -87,7 +87,7 @@ BSDgetopt(nargc, nargv, ostr) ++BSDoptind; if (BSDopterr && *ostr != ':') (void)fprintf(stderr, - "%s: illegal option -- %c\n", __progname, BSDoptopt); + "%s: unknown option -- %c\n", __progname, BSDoptopt); return (BADCH); } if (*++oli != ':') { /* don't need argument */ |