mysql, sitecopy: Indentation and line wrapping fixes.
This commit is contained in:
parent
f38453968c
commit
abfc29f8a0
@ -77,7 +77,8 @@ _mysql()
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
COMPREPLY=( $( compgen -W "$(mysqlshow 2>/dev/null|sed -ne '2d' -e 's/^|.\([^|]*\)|.*/\1/p')" \
|
COMPREPLY=( $( compgen -W \
|
||||||
|
"$(mysqlshow 2>/dev/null|sed -ne '2d' -e 's/^|.\([^|]*\)|.*/\1/p')" \
|
||||||
-- "$cur" ) )
|
-- "$cur" ) )
|
||||||
} &&
|
} &&
|
||||||
complete -F _mysql mysql
|
complete -F _mysql mysql
|
||||||
|
@ -12,8 +12,8 @@ _sitecopy()
|
|||||||
|
|
||||||
case $prev in
|
case $prev in
|
||||||
--debug|-d)
|
--debug|-d)
|
||||||
COMPREPLY=( $( compgen -W "socket files rcfile ftp http httpbody rsh sftp xml xmlparse cleartext" \
|
COMPREPLY=( $( compgen -W "socket files rcfile ftp http httpbody
|
||||||
-- "$cur" ) )
|
rsh sftp xml xmlparse cleartext" -- "$cur" ) )
|
||||||
compopt -o nospace
|
compopt -o nospace
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user