fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

Jan-Jaap KorpershoekMake mysql completions work with log-in (#7397)4b74fbf1b

master
6.6 KiB89 linesraw
1__fish_complete_mysql mysql
2
3complete -c mysql -f
4
5complete -c mysql -s I -s \? -l help -d 'Display a help message'
6complete -c mysql -l abort-source-on-error -d 'Abort source filename operations in case of errors'
7complete -c mysql -l auto-rehash -d 'Enable automatic rehashing'
8complete -c mysql -l auto-vertical-output -d 'Automatically switch to vertical output'
9complete -c mysql -s B -l batch -d 'Batch mode results'
10complete -c mysql -l binary-mode -d 'Binary input mode'
11complete -c mysql -l character-sets-dir -x -a "(__fish_complete_directories)" -d 'Set directory where character sets are installed'
12complete -c mysql -l column-names -d 'Write column names in results'
13complete -c mysql -s m -l column-type-info -d 'Display result set metadata'
14complete -c mysql -s c -l comments -d 'Preserve comments in statements'
15complete -c mysql -l skip-comments -d 'Discard comments in statements'
16complete -c mysql -s C -l compress -d 'Compress all information'
17complete -c mysql -l connect-timeout -x -d 'Set the number of seconds before connection timeout'
18
19complete -c mysql -s \# -l debug -d 'Write a debugging log'
20complete -c mysql -l debug-check -d 'Print some debugging information'
21complete -c mysql -s T -l debug-info -d 'Prints debugging information and memory and CPU usage'
22complete -c mysql -l default-auth -x -d 'Default authentication client-side plugin'
23complete -c mysql -l default-character-set -x -d 'Use charset_name as the default character set'
24complete -c mysql -l defaults-extra-file -F -d 'Read default options from file after global defaults'
25complete -c mysql -l defaults-file -F -d 'Read default options from file overriding global defaults'
26complete -c mysql -l defaults-group-suffix -x -d 'Read groups that have the given suffix'
27complete -c mysql -l delimiter -x -d 'Set the statement delimiter'
28complete -c mysql -l disable-named-commands -d 'Disable named commands'
29complete -c mysql -s e -l execute -x -d 'Execute the statement'
30complete -c mysql -s f -l force -d 'Continue even if an SQL error occurs'
31complete -c mysql -s h -l host -x -a "(__fish_print_hostnames)" -d 'Connect to the server on the given host'
32complete -c mysql -s H -l html -d 'Produce HTML output'
33complete -c mysql -s i -l ignore-spaces -d 'Ignore spaces after function names'
34complete -c mysql -l init-command -x -d 'SQL Command to execute when connecting to the server'
35complete -c mysql -l line-numbers -d 'Write line numbers for errors'
36complete -c mysql -l local-infile -a '0 1' -d 'Enable or disable LOCAL capability for LOAD DATA INFILE'
37complete -c mysql -l max-allowed-packet -x -d 'Set the maximum packet length'
38complete -c mysql -l max-join-size -x -d 'Set the automatic limit for rows in a join'
39complete -c mysql -s G -l named-commands -d 'Enable named mysql commands'
40complete -c mysql -l skip-named-commands -d 'Disable named commands'
41complete -c mysql -l net-buffer-length -x -d 'Set the buffer size for TCP/IP and socket communication'
42complete -c mysql -s A -l no-auto-rehash -l skip-auto-rehash -l disable-auto-rehash -d 'Disable automatic rehashing'
43complete -c mysql -s b -l no-beep -d 'Do not beep when errors occur'
44complete -c mysql -l no-defaults -d 'Do not read default options from any option file'
45complete -c mysql -s o -l one-database -d 'Ignore statements for other databases than the chosen one'
46complete -c mysql -l pager -d 'Use the given command for paging query output'
47complete -c mysql -l skip-pager -d 'Disable paging'
48complete -c mysql -s p -l password -d 'Password to use when connecting (empty for prompt)'
49complete -c mysql -s W -l pipe -d 'Connect to the server via a named pipe'
50complete -c mysql -l plugin-dir -x -a "(__fish_complete_directories)" -d 'Directory for client-side plugins'
51complete -c mysql -s P -l port -x -d 'The port to use for the connection'
52complete -c mysql -l print-defaults -d 'Print the program argument list'
53complete -c mysql -l progress-reports -d 'Get progress reports for long running commands'
54complete -c mysql -l skip-progress-reports -d 'Disable progress reports for long running commands'
55complete -c mysql -l prompt -x -d 'Set the prompt to the specified format'
56complete -c mysql -l protocol -x -a 'TCP SOCKET PIPE MEMORY' -d 'The connection protocol to use'
57complete -c mysql -s q -l quick -d 'Print each row as it is received'
58complete -c mysql -s r -l raw -d 'Disables character escaping'
59complete -c mysql -l reconnect -d 'Try to reconnect when connection gets lost'
60complete -c mysql -l skip-reconnect -l disable-reconnect -d 'Do not try to reconnect when connection gets lost'
61complete -c mysql -s U -l safe-updates -l i-am-a-dummy -d 'Allow only those statements that specify which rows to modify'
62complete -c mysql -l secure-auth -d 'Do not send passwords to the server in old format'
63complete -c mysql -l select-limit -x -d 'Set automatic limit for SELECT when using --safe-updates'
64complete -c mysql -l server-arg -x -d 'Send a parameter to the embedded server'
65complete -c mysql -l show-warnings -d 'Cause warnings to be shown'
66complete -c mysql -l sigint-ignore -d 'Ignore SIGINT signals'
67complete -c mysql -s s -l silent -d 'Silent mode'
68complete -c mysql -s N -l skip-column-names -d 'Do not write column names in results'
69complete -c mysql -s L -l skip-line-numbers -d 'Do not write line numbers for errors'
70complete -c mysql -s S -l socket -F -d 'For connections to localhost the socket file or named pipe'
71complete -c mysql -l ssl -d 'Enable SSL for connection'
72complete -c mysql -l skip-ssl -d 'Disable SSL for connection'
73complete -c mysql -l ssl-ca -F -d 'CA file in PEM format'
74complete -c mysql -l ssl-capath -x -a "(__fish_complete_directories)" -d 'CA directory'
75complete -c mysql -l ssl-cert -F -d 'X509 cert in PEM format'
76complete -c mysql -l ssl-cipher -x -d 'SSL cipher to use'
77complete -c mysql -l ssl-key -F -d 'X509 key in PEM format'
78complete -c mysql -l ssl-crl -F -d 'Certificate revocation list'
79complete -c mysql -l ssl-crlpath -x -a "(__fish_complete_directories)" -d 'Certificate revocation list path'
80complete -c mysql -l ssl-verify-server-cert -d 'Verify server\'s "Common Name"'
81complete -c mysql -s t -l table -d 'Display output in table format'
82complete -c mysql -l tee -F -d 'Append a copy of output to the given file'
83complete -c mysql -s n -l unbuffered -d 'Flush the buffer after each query'
84complete -c mysql -s u -l user -x -d 'User name to use when connecting'
85complete -c mysql -s v -l verbose -d 'Verbose mode'
86complete -c mysql -s V -l version -d 'Display version information'
87complete -c mysql -s E -l vertical -d 'Print query output rows vertically'
88complete -c mysql -s w -l wait -d 'If the connection cannot be established, wait and retry'
89complete -c mysql -s X -l xml -d 'Produce XML output'