couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nsla...@apache.org
Subject svn commit: r767206 - /couchdb/trunk/bin/couchdb.tpl.in
Date Tue, 21 Apr 2009 16:22:03 GMT
Author: nslater
Date: Tue Apr 21 16:22:03 2009
New Revision: 767206

URL: http://svn.apache.org/viewvc?rev=767206&view=rev
Log:
added -A for adding configuration directories

Modified:
    couchdb/trunk/bin/couchdb.tpl.in

Modified: couchdb/trunk/bin/couchdb.tpl.in
URL: http://svn.apache.org/viewvc/couchdb/trunk/bin/couchdb.tpl.in?rev=767206&r1=767205&r2=767206&view=diff
==============================================================================
--- couchdb/trunk/bin/couchdb.tpl.in (original)
+++ couchdb/trunk/bin/couchdb.tpl.in Tue Apr 21 16:22:03 2009
@@ -71,6 +71,7 @@
   -h          display a short help message and exit
   -V          display version information and exit
   -a FILE     add configuration FILE to chain
+  -A DIR      add configuration DIR to chain
   -n          reset configuration file chain (including system default)
   -c          print configuration file chain and exit
   -i          use the interactive Erlang shell
@@ -291,7 +292,7 @@
 parse_script_option_list () {
     _load_config
     set +e
-    options=`getopt hVa:ncibp:r:Ro:e:skd $@`
+    options=`getopt hVa:A:ncibp:r:Ro:e:skd $@`
     if test ! $? -eq 0; then
         display_error
     fi
@@ -302,6 +303,7 @@
             -h) shift; display_help; exit;;
             -V) shift; display_version; exit;;
             -a) shift; _add_config_file "$1"; shift;;
+            -A) shift; _add_config_dir "$1"; shift;;
             -n) shift; _reset_config;;
             -c) shift; _print_config; exit;;
             -i) shift; INTERACTIVE=true;;



Mime
View raw message