couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nsla...@apache.org
Subject svn commit: r668134 - /incubator/couchdb/trunk/bootstrap
Date Mon, 16 Jun 2008 12:14:06 GMT
Author: nslater
Date: Mon Jun 16 05:14:06 2008
New Revision: 668134

URL: http://svn.apache.org/viewvc?rev=668134&view=rev
Log:
corrected -v option to -V option to match couchdb and couchjs

Modified:
    incubator/couchdb/trunk/bootstrap

Modified: incubator/couchdb/trunk/bootstrap
URL: http://svn.apache.org/viewvc/incubator/couchdb/trunk/bootstrap?rev=668134&r1=668133&r2=668134&view=diff
==============================================================================
--- incubator/couchdb/trunk/bootstrap (original)
+++ incubator/couchdb/trunk/bootstrap Mon Jun 16 05:14:06 2008
@@ -196,7 +196,7 @@
 
 parse_script_option_list () {
     set +e
-    options=`getopt vhC $@`
+    options=`getopt hVC $@`
     if test ! $? -eq 0; then
         display_error
     fi
@@ -204,8 +204,8 @@
     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



Mime
View raw message