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 2010/06/16 10:54:24 UTC

[jira] Updated: (CLI-192) single character arguments are wrongly interpreted as short options

     [ https://issues.apache.org/jira/browse/CLI-192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Bourg updated CLI-192:
-------------------------------

    Description: 
If I have a command line which supports "-o"
or equivalently "--option", and "-foo", then

--foo o

gets interpreted as if I had typed "--foo -o", i.e. the "o" is (wrongly) seen as an option
instead of an argument to "--foo". Foo then (wrongly) has no arguments.

  was:
If I have a command line which supports "-o"  or equivalently "--option", and "-foo", then

--foo o

gets interpreted as if I had typed "--foo -o", i.e. the "o" is (wrongly) seen as an option instead of an argument to "--foo". Foo then (wrongly) has no arguments.


> single character arguments are wrongly interpreted as short options
> -------------------------------------------------------------------
>
>                 Key: CLI-192
>                 URL: https://issues.apache.org/jira/browse/CLI-192
>             Project: Commons CLI
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: linux
>            Reporter: dave rodgman
>
> If I have a command line which supports "-o"
> or equivalently "--option", and "-foo", then
> --foo o
> gets interpreted as if I had typed "--foo -o", i.e. the "o" is (wrongly) seen as an option
> instead of an argument to "--foo". Foo then (wrongly) has no arguments.

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