Return-Path: X-Original-To: apmail-corinthia-dev-archive@minotaur.apache.org Delivered-To: apmail-corinthia-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E4C60C8B7 for ; Sun, 11 Jan 2015 01:34:57 +0000 (UTC) Received: (qmail 8498 invoked by uid 500); 11 Jan 2015 01:34:59 -0000 Delivered-To: apmail-corinthia-dev-archive@corinthia.apache.org Received: (qmail 8474 invoked by uid 500); 11 Jan 2015 01:34:59 -0000 Mailing-List: contact dev-help@corinthia.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@corinthia.incubator.apache.org Delivered-To: mailing list dev@corinthia.incubator.apache.org Received: (qmail 8463 invoked by uid 99); 11 Jan 2015 01:34:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Jan 2015 01:34:59 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 11 Jan 2015 01:34:37 +0000 Received: (qmail 8435 invoked by uid 99); 11 Jan 2015 01:34:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Jan 2015 01:34:34 +0000 Date: Sun, 11 Jan 2015 01:34:34 +0000 (UTC) From: "Dennis E. Hamilton (JIRA)" To: dev@corinthia.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (COR-26) Recommend standard getopt_longs for the utilities MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Dennis E. Hamilton created COR-26: ------------------------------------- Summary: Recommend standard getopt_longs for the utilities Key: COR-26 URL: https://issues.apache.org/jira/browse/COR-26 Project: Corinthia Issue Type: Improvement Reporter: Dennis E. Hamilton It is recommended that the command-line utilities provided by Corinthia use a common getopt model with -s single-letter options, --verbose word options and common shared options (--version, --help, etc.). stdin, stdout, and stderr should be redirectable (via the shell) and the utilities should work with pipes (with appropriate encoding caveats). The same flavors can be used for all platforms, with filenames given in platform-specific form (and "..." where needed) but parameters and options the same across platforms. The GNU getopt_long approach is widely-used. http://en.wikipedia.org/wiki/Getopt -- This message was sent by Atlassian JIRA (v6.3.4#6332)