corinthia-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jan iversen (JIRA)" <>
Subject [jira] [Commented] (COR-26) Recommend standard getopt_longs for the utilities
Date Mon, 19 Jan 2015 08:41:34 GMT


jan iversen commented on COR-26:

dftest is the only one the uses options now.

I dont quite understand why not simply take APR apr_getopt in an experimental branch, add
it to e.g. dftest, and let us cross compile on all platforms.

If you make the branch, and add the source from APR (just apr_getopt), then I can add the
CMake for you...and once you are happy on windows peter can try the cross compiling.

> Recommend standard getopt_longs for the utilities
> -------------------------------------------------
>                 Key: COR-26
>                 URL:
>             Project: Corinthia
>          Issue Type: Improvement
>          Components: Consumers - dftest
>            Reporter: Dennis E. Hamilton
>            Assignee: Dennis E. Hamilton
>             Fix For: 0.5
> It is recommended that the command-line utilities provided by Corinthia use a common
getopt model with 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