[ https://issues.apache.org/jira/browse/GEODE-1598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15393221#comment-15393221 ]
ASF subversion and git services commented on GEODE-1598: -------------------------------------------------------- Commit 6b4c637edc4964d6f40a17c9c1cd703f2dc68f31 in incubator-geode's branch refs/heads/develop from gmeilen [ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=6b4c637 ] GEODE-1598: fix auto-completion problems by telling jopt that all options are optional Spring shell, jopt-simple and Geode GFSH code all duplicated the concept of required options. jopt-simple can be blind to this, which prevents OptionParser.parse from throwing an Exception when a required option is missing at time of hitting tab for auto-complete. This allows OptionParser to return an OptionSet containing all detected options which is necessary for auto-completion to behave correctly. This closes #195 > gfsh auto-complete removes previously typed options > --------------------------------------------------- > > Key: GEODE-1598 > URL: https://issues.apache.org/jira/browse/GEODE-1598 > Project: Geode > Issue Type: Bug > Components: gfsh > Affects Versions: 1.0.0-incubating.M3 > Reporter: Swapnil Bawaskar > Assignee: Grace Meilen > > This may also be related to fixing GEODE-835. > When one starts typing in a gfsh command like: > {noformat} > gfsh>start server --name=serv1 --se > {noformat} > and then hit {{tab}} for autocompletion, the previously completed --name > option disappears and all I am left with is: > {noformat} > gfsh>start server --se > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)