You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geode.apache.org by "Swapnil Bawaskar (JIRA)" <ji...@apache.org> on 2017/03/20 18:13:41 UTC

[jira] [Resolved] (GEODE-2249) GFSH parser should validate arguments

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

Swapnil Bawaskar resolved GEODE-2249.
-------------------------------------
    Resolution: Duplicate

> GFSH parser should validate arguments
> -------------------------------------
>
>                 Key: GEODE-2249
>                 URL: https://issues.apache.org/jira/browse/GEODE-2249
>             Project: Geode
>          Issue Type: Improvement
>          Components: gfsh
>            Reporter: Ben Moss
>            Assignee: Jinmei Liao
>              Labels: SpringShell, gfsh, jopt-simple
>
> gfsh will right now happily let you use invalid arguments and just ignore them. It would be helpful if it would error when a user provides an unsupported argument, since the user probably thinks that these arguments are supposed to do something. 
> Just as an example I encountered, if you try to use {{connect}} with {{--username}} instead of {{--user}}, it will apparently succeed because of GEODE-2247, but actually will be using anonymous authentication since you did not pass a {{--user}} argument.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)