Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 7410 invoked from network); 2 Feb 2009 11:19:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Feb 2009 11:19:12 -0000 Received: (qmail 84473 invoked by uid 500); 2 Feb 2009 11:19:10 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 84443 invoked by uid 500); 2 Feb 2009 11:19:10 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 84432 invoked by uid 99); 2 Feb 2009 11:19:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Feb 2009 03:19:10 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [80.68.94.123] (HELO tumbolia.org) (80.68.94.123) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Feb 2009 11:19:01 +0000 Received: from nslater by tumbolia.org with local (Exim 4.69) (envelope-from ) id 1LTwp6-00049t-OH for dev@couchdb.apache.org; Mon, 02 Feb 2009 11:18:40 +0000 Date: Mon, 2 Feb 2009 11:18:40 +0000 From: Noah Slater To: dev@couchdb.apache.org Subject: Re: Simple erlang plugins (was Re: couch_gen_btree: pluggable storage / tree engines) Message-ID: <20090202111840.GE4088@tumbolia.org> Mail-Followup-To: dev@couchdb.apache.org References: <498464EC.1070209@diskware.net> <8B1BF367-700E-4F24-B7A5-F454E51AF9D3@gmail.com> <8EED19F7-E294-4F3B-B260-09A46547C689@gmail.com> <0E01B428-6C0E-480D-A8FB-0F8C45FD0CB2@gmail.com> <20090202102154.GA4088@tumbolia.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Noah: Awesome User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Feb 02, 2009 at 09:31:36PM +1030, Antony Blakey wrote: >>> -D add all the plugins in $DEFAULT_PLUGIN_DIR >>> -G DIR add all the plugins in DIR >>> -P DIR add the plugin DIR >> >> Why have you chosen all capitals? > > Because all the obvious lower case options have been used. I wanted to > use long options, but the shell getopts doesn't allow it. I think I agree with a comment earlier in this thread. I don't think command options are the place for this type of configuration. Ideally, you'd want all the configuration in the ini file. If you really need to override some ini file setting, maybe using an environment variable would be the way forward. Bottom line: I want to keep the number of command line options small. -- Noah Slater, http://tumbolia.org/nslater