-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[0.9.5-nightly] trivial bug: USER can parse as USE in the CLI #4544
Comments
I would expect a parser error instead of it "knowing" that I meant |
Since the parsing of commands by the CLI is rather simple, this also-simple solution ensures that the commands are followed by whitespace. Fixes issue #4544.
The command parsing in the CLI code needs to be a little bit more sophisticated to solve this issue. Ideally the CLI code would parse tokens, allowing more intelligent behaviour. |
Some initial work is here: https://github.com/influxdb/influxdb/pull/4588/files But the tests don't pass, so the CLI needs some more work to fix this bug. |
While working on #4628 I had a similar idea, so on it :) |
The text was updated successfully, but these errors were encountered: