summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoah Slater <nslater@apache.org>2008-06-16 12:14:06 +0000
committerNoah Slater <nslater@apache.org>2008-06-16 12:14:06 +0000
commitbef64ce93c54b75828f3722f321f7fa3353ed8de (patch)
treed034e7cc7d81824a02d938ba74bca5a0f52a2b6c
parentedfc78c16338383bd524fee516eb1d4a210a937a (diff)
corrected -v option to -V option to match couchdb and couchjs
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@668134 13f79535-47bb-0310-9956-ffa450edef68
-rwxr-xr-xbootstrap4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap b/bootstrap
index 5b9c74be..86be5abe 100755
--- a/bootstrap
+++ b/bootstrap
@@ -196,7 +196,7 @@ EOF
parse_script_option_list () {
set +e
- options=`getopt vhC $@`
+ options=`getopt hVC $@`
if test ! $? -eq 0; then
display_error
fi
@@ -204,8 +204,8 @@ parse_script_option_list () {
eval set -- $options
while [ $# -gt 0 ]; do
case "$1" in
- -v) shift; display_version; exit $SCRIPT_OK;;
-h) shift; display_help; exit $SCRIPT_OK;;
+ -V) shift; display_version; exit $SCRIPT_OK;;
--) shift; break;;
*) display_error "Unknown option: $1" >&2;;
esac