diff options
Diffstat (limited to 'Completion/Unix')
-rw-r--r-- | Completion/Unix/Command/_mysql_utils | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Completion/Unix/Command/_mysql_utils b/Completion/Unix/Command/_mysql_utils index ae7ffe72c..c613583d5 100644 --- a/Completion/Unix/Command/_mysql_utils +++ b/Completion/Unix/Command/_mysql_utils @@ -14,9 +14,9 @@ _mysql_get_identity () { _mysql_host=${opt_args[-h]-$opt_args[--host]} _mysql_params=( - ${_mysql_user+"--user=$_mysql_user"} - ${_mysql_host+"--host=$_mysql_host"} - ${_mysql_port+"--port=$_mysql_port"} + ${_mysql_user:+"--user=$_mysql_user"} + ${_mysql_host:+"--host=$_mysql_host"} + ${_mysql_port:+"--port=$_mysql_port"} ) } |