corinthia-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis E. Hamilton (JIRA)" <>
Subject [jira] [Created] (COR-26) Recommend standard getopt_longs for the utilities
Date Sun, 11 Jan 2015 01:34:34 GMT
Dennis E. Hamilton created COR-26:

             Summary: Recommend standard getopt_longs for the utilities
                 Key: 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.

This message was sent by Atlassian JIRA

View raw message