[ https://issues.apache.org/jira/browse/GEODE-2249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15843488#comment-15843488 ]
Kirk Lund commented on GEODE-2249: ---------------------------------- Note: we'd like to remove use of jopt-simple for parsing and change GFSH to just rely on Spring Shell for its parsing. > GFSH 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 > 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.4#6332)