| Server IP : 217.160.0.64 / Your IP : 216.73.216.182 Web Server : Apache System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux User : ws67269618 ( 67269618) PHP Version : 8.4.28 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /kunden/proc/self/root/kunden/proc/self/root/usr/share/zsh/functions/Completion/Unix/ |
Upload File : |
#compdef mysqldiff
_mysqldiff () {
_arguments -s \
{-h{,1,2},--host{,1,2}=}':server hostname:_mysql_hosts' \
{-p{,1,2},--password{,1,2}=}':server password: ' \
{-u{,1,2},--user{,1,2}=}':server username:_mysql_users' \
{-s{,1,2},--socket{,1,2}=}':server socket:_directories' \
{-d,--debug=}':debugging level [1]:(1 2 3 4 5 6 7 8)' \
{-i,--tolerant}':ignore DEFAULT and formatting changes: ' \
{-k,--keep-old-tables}":don\'t output DROP TABLE commands: " \
{-n,--no-old-defs}"[don't output old defs as comments]" \
{-o,--only-both}'[only output changes for tables in both databases]' \
{-t,--table-re}':restrict comparisons to tables matching a regexp: ' \
{-A,--apply}':interactively patch database1 to match database2: ' \
{-\?,--help}'[display usage]' \
{1,2}':MySQL database:_mysql_db_or_file'
}
_mysql_db_or_file () {
_alternative \
'databases:MySQL database:_mysql_databases' \
'files:MySQL database definition file:_files -g "*.(my|)sql(-.)"'
}
_mysql_utils
_mysqldiff "$@"