You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Emmanuel Bourg (JIRA)" <ji...@apache.org> on 2008/05/30 17:52:45 UTC

[jira] Commented: (CLI-147) Create page explaining which parser to use when

    [ https://issues.apache.org/jira/browse/CLI-147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12601176#action_12601176 ] 

Emmanuel Bourg commented on CLI-147:
------------------------------------

I did a comparison of the 3 parsers with the various option formats I had in mind. Here are the results :

|| ||GNU||Posix||Basic||
||Flags\\(tar -xvf foo.tar)|(x)\\x is recognized|(/)|(x)|
||Long name with hyphens + space\\(--user ebourg)|(/)|(/)|(/)|
||Long name with hyphens + equal\\(--user=ebourg)|(x)\\ParseException|(/)|(x)\\ParseException|
||Short name with hyphen + space\\(-u ebourg)|(/)|(/)|(/)|
||Short name with hyphen + equal\\(-u=ebourg)|(x)\\value is '=ebourg'|(x)\\value is '=ebourg'|(x)\\ParseException|
||1 digit short name + value\\(-O1, -V3)|(/)|(/)|(x)\\ParseException|
||2+ digits short name + value\\(-Xmx512M)|(x)\\ParseException|(x)\\ParseException|(x)\\ParseException|
||Short name only\\(-v, -version)|(/)|(/)|(/)|
||Long name only\\(--help)|(/)|(/)|(/)|
||Property\\(-Dprop=value)|(/)\\2 values: prop, value|(/)\\2 values: prop, value|(x)\\ParseException|

> Create page explaining which parser to use when
> -----------------------------------------------
>
>                 Key: CLI-147
>                 URL: https://issues.apache.org/jira/browse/CLI-147
>             Project: Commons CLI
>          Issue Type: Task
>          Components: Documentation
>    Affects Versions: 1.1
>            Reporter: Henri Yandell
>            Assignee: Henri Yandell
>             Fix For: 1.2
>
>
> Basically a short summary of what each parser does.
> Also put each relevant bit in the javadoc.

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