Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C25277CBE for ; Sun, 2 Oct 2011 17:16:52 +0000 (UTC) Received: (qmail 14112 invoked by uid 500); 2 Oct 2011 17:16:52 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 14080 invoked by uid 500); 2 Oct 2011 17:16:52 -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 14072 invoked by uid 99); 2 Oct 2011 17:16:52 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Oct 2011 17:16:52 +0000 Received: from localhost (HELO [192.168.1.36]) (127.0.0.1) (smtp-auth username nslater, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Oct 2011 17:16:51 +0000 Subject: Re: [2/3] git commit: improve argument parsing in couchjs Mime-Version: 1.0 (Apple Message framework v1244.3) Content-Type: text/plain; charset=us-ascii From: Noah Slater In-Reply-To: <20111002111438.411D654A03@tyr.zones.apache.org> X-Noah: Awesome Date: Sun, 2 Oct 2011 18:16:48 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20111002111438.411D654A03@tyr.zones.apache.org> To: dev@couchdb.apache.org X-Mailer: Apple Mail (2.1244.3) On 2 Oct 2011, at 12:14, randall@apache.org wrote: > * Adds long options > + "Options:\n" > + "\n" > + " -h, --help display a short help message and exit\n" > + " -V, --version display version information and exit\n" > + " -H, --http install %s cURL bindings (only avaiable\n" > + " if package was built with cURL = available)\n" > + " --stack-size=3DSIZE specify that the interpreter should set = the\n" > + " the stack quota for JS contexts to SIZE = bytes\n" I don't think we should do this. The main `couchdb` command does not have long options, and I was careful = to make sure that all the commands in the CouchDB package were = consistent. The --stack-size doesn't have a short version, which it = absolutely should do. I would remove the long versions from this command = entirely, or less preferably, add long versions to the main `couchdb` = command for consistency.=