diff options
author | ache <ache@FreeBSD.org> | 2004-02-17 00:53:50 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2004-02-17 00:53:50 +0000 |
commit | 164b34122a3e838f43d2a95355d1922b7b3efc6d (patch) | |
tree | b1f0d554c1decb6e6e5553f76136b05773fe3789 | |
parent | 3ae5306cbc7344c3fae786db46d92a0fc16fa094 (diff) | |
download | FreeBSD-src-164b34122a3e838f43d2a95355d1922b7b3efc6d.zip FreeBSD-src-164b34122a3e838f43d2a95355d1922b7b3efc6d.tar.gz |
getopt_long() returned 0 (i.e. long options) case not handled, add it
(symptom: "bc --quiet" not works while "bc -q" works)
-rw-r--r-- | contrib/bc/bc/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/bc/bc/main.c b/contrib/bc/bc/main.c index 71b46a6..4170bb5 100644 --- a/contrib/bc/bc/main.c +++ b/contrib/bc/bc/main.c @@ -129,6 +129,10 @@ parse_args (argc, argv) warn_not_std = TRUE; break; + case 0: + /* long options */ + break; + default: usage(argv[0]); exit (1); |