You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Istvan Toth (Jira)" <ji...@apache.org> on 2021/01/29 09:48:00 UTC

[jira] [Commented] (CLI-275) Cannot get a full quoted argument through

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

Istvan Toth commented on CLI-275:
---------------------------------

Looks like a duplicate of CLI-254

> Cannot get a full quoted argument through
> -----------------------------------------
>
>                 Key: CLI-275
>                 URL: https://issues.apache.org/jira/browse/CLI-275
>             Project: Commons CLI
>          Issue Type: Bug
>            Reporter: Csaba Skrabak
>            Priority: Major
>
> CLI-185 has been partially fixed but user still cannot pass in an argument like "x" (the whole argument surrounded by one pair of double quotes.) If user enters \"x\" then the quotes get eaten (btw. WHY THE HECK?!). But if user enters \"\"x\"\" then both pairs of quotes are left intact.
> The idea of removing the quotes is plain wrong, should be either forgotten entirely or the argument should be parsed properly (rather than tinkering from bug to bug with variations of find/substring call constructs) with the possibility to escape and quote quotation marks.
> Blocks: PHOENIX-3710



--
This message was sent by Atlassian Jira
(v8.3.4#803005)