commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CLI-138) No '--' option for terminating options processing
Date Wed, 25 Jul 2007 20:55:31 GMT

    [ https://issues.apache.org/jira/browse/CLI-138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12515417
] 

Henri Yandell commented on CLI-138:
-----------------------------------

Digging around, it looks like 2.0 does support the feature - 'consume remaining'. It defaults
to '--' and you can set what the flag is.

So this falls into the big question of 'what next?'.

> No '--' option for terminating options processing
> -------------------------------------------------
>
>                 Key: CLI-138
>                 URL: https://issues.apache.org/jira/browse/CLI-138
>             Project: Commons CLI
>          Issue Type: Bug
>          Components: CLI-1.x
>    Affects Versions: 1.1
>         Environment: Ubuntu 7.04 Feisty Fawn
>            Reporter: Russel Winder
>
> It appears that neither 1.0 not 1.1 have a '--' option as the 'end processing options'
option.  This is immensely useful to allow parameter that are not options that start with
a hyphen.  grep for example does this.  I think it is a bug rather than an enhancement request,
I think Commons CLI should support '--' option.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message