* MySQL completion
@ 2022-09-22 6:31 Serge Roussak
2022-09-28 20:39 ` Eric Cook
0 siblings, 1 reply; 2+ messages in thread
From: Serge Roussak @ 2022-09-22 6:31 UTC (permalink / raw)
To: zsh-workers
[-- Attachment #1: Type: text/plain, Size: 390 bytes --]
Hello!
Please, add the --protocol command line option to the completion. Here
is the quote from man-page:
• --protocol={TCP|SOCKET|PIPE|MEMORY}
The connection protocol to use for connecting to the server.
It is useful when the other connection parameters
normally would cause a protocol to be used other than the one
you want.
[-- Attachment #2: Type: text/html, Size: 930 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: MySQL completion
2022-09-22 6:31 MySQL completion Serge Roussak
@ 2022-09-28 20:39 ` Eric Cook
0 siblings, 0 replies; 2+ messages in thread
From: Eric Cook @ 2022-09-28 20:39 UTC (permalink / raw)
To: zsh-workers; +Cc: beaux_monde
On 9/22/22 02:31, Serge Roussak wrote:
> Hello!
>
> Please, add the --protocol command line option to the completion. Here is the quote from man-page:
>
> • --protocol={TCP|SOCKET|PIPE|MEMORY}
>
> The connection protocol to use for connecting to the server. It is useful when the other connection parameters
> normally would cause a protocol to be used other than the one you want.
>
>
diff --git a/Completion/Unix/Command/_mysql_utils b/Completion/Unix/Command/_mysql_utils
index 9f70687b0..7c7abd596 100644
--- a/Completion/Unix/Command/_mysql_utils
+++ b/Completion/Unix/Command/_mysql_utils
@@ -210,6 +210,7 @@ _mysql_utils() {
"--no-defaults[don't read default options from any options file]"
'--defaults-file=[read defaults from the given file]:file:_files'
'--defaults-extra-file=[read specified file after the global files]:defaults file:_files'
+ '--protocol=[connection protocol to use for connecting to the server]:protocol:(TCP SOCKET PIPE MEMORY)'
'(-S --socket)'{-S+,--socket=}'[specify socket file to use for connection]:server socket file:_files'
'(-h --host)'{-h+,--host=}'[specify server hostname]:hostname:_mysql_hosts'
'(-P --port)'{-P+,--port=}'[specify port number for connection]:server port:_mysql_ports'
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-09-28 20:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-22 6:31 MySQL completion Serge Roussak
2022-09-28 20:39 ` Eric Cook
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).