You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Proposal: trigger an error when launching the shell with extra parameters (arguments, not options).
Current behavior: when you launch the shell, arguments are simply ignored. This can be misleading.
Each database has its own CLI, and you could forget whether you need to pass the hostname to connect to as an option or as an argument. If you pass the hostname as an argument and have a local InfluxDB database running, it will connect to your local DB, but you might think it successfully connected to the remote host.
$ influx host_I_want_to_connect_to
Connected to http://localhost:8086 version v1.3.0
InfluxDB shell version: v1.3.0
>
Desired behavior: an error would be ideal. It should print the usage and indicate that the extra argument is not valid.
Use case: this just saves time in case people make a mistake in their command line.
The text was updated successfully, but these errors were encountered:
Feature Request
Proposal: trigger an error when launching the shell with extra parameters (arguments, not options).
Current behavior: when you launch the shell, arguments are simply ignored. This can be misleading.
Each database has its own CLI, and you could forget whether you need to pass the hostname to connect to as an option or as an argument. If you pass the hostname as an argument and have a local InfluxDB database running, it will connect to your local DB, but you might think it successfully connected to the remote host.
Desired behavior: an error would be ideal. It should print the usage and indicate that the extra argument is not valid.
Use case: this just saves time in case people make a mistake in their command line.
The text was updated successfully, but these errors were encountered: