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
Describe the unexpected behavior.
Specifying --password "secret" --password asks the user to enter the password instead of failing in the console output.
Expected behavior
An error: Bad arguments: option '--password' cannot be specified more than once
Error message and/or stacktrace
No error message. The client just ignores the "secret" password, and uses implicit_value "" from the boost options configuration.
If the password is an empty string, then the client asks the user to enter the password (even if the user does not have a password).
The text was updated successfully, but these errors were encountered:
ClickHouse client version 23.5.1.1
Describe the unexpected behavior.
Specifying
--password "secret" --password
asks the user to enter the password instead of failing in the console output.Repro
clickhouse-client --password "secret" --password
Expected behavior
An error:
Bad arguments: option '--password' cannot be specified more than once
Error message and/or stacktrace
No error message. The client just ignores the "secret" password, and uses implicit_value "" from the boost options configuration.
If the password is an empty string, then the client asks the user to enter the password (even if the user does not have a password).
The text was updated successfully, but these errors were encountered: