Github user robertdale commented on a diff in the pull request: https://github.com/apache/tinkerpop/pull/384#discussion_r75560386 --- Diff: gremlin-console/src/main/groovy/org/apache/tinkerpop/gremlin/console/GremlinGroovysh.groovy --- @@ -45,12 +46,13 @@ class GremlinGroovysh extends Groovysh { Command findCommand(final String line, final List<String> parsedArgs = null) { def l = line ?: "" - final List<String> args = parseLine(l) - if (args.size() == 0) return null + final List<String> linetokens = parseLine(l) + if (linetokens.size() == 0) return null - def cmd = registry.find(args[0]) + def cmd = registry.find(linetokens[0]) - if (cmd != null && args.size() > 1 && parsedArgs != null) { + if (cmd != null && linetokens.size() > 1 && parsedArgs != null) { + List<String> args = CommandArgumentParser.parseLine(line, parsedArgs == null ? 1 : -1) --- End diff -- groovysh added this line 1 month after this code was written.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---