diff options
author | Jan Lehnardt <jan@apache.org> | 2015-06-24 12:44:22 +0200 |
---|---|---|
committer | Jan Lehnardt <jan@apache.org> | 2015-06-24 23:07:03 +0200 |
commit | c7077e9ea5120bf526be465c471e4e301920406a (patch) | |
tree | cfcd542082d156d39434aaca0f701a8920a820ef | |
parent | f900068890b1cb71847380b19d0b4a321c90a7dc (diff) | |
download | couchdb-c7077e9ea5120bf526be465c471e4e301920406a.tar.gz |
ignore unused params and make them not stop parsing
-rwxr-xr-x | configure | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -86,13 +86,13 @@ parse_opts() { --test) TEST=1 - shift 1 + shift continue ;; --with-curl|-c) WITH_CURL="true" - shift 1 + shift continue ;; @@ -352,6 +352,10 @@ parse_opts() { shift break ;; + -?*) + echo "WARNING: Unkonwn option '$1', ignoring" >&2 + shift + ;; *) # Done break esac |