mysql, sitecopy: Indentation and line wrapping fixes.

This commit is contained in:
Ville Skyttä 2011-06-18 15:27:15 +03:00
parent f38453968c
commit abfc29f8a0
2 changed files with 7 additions and 6 deletions

View File

@ -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

View File

@ -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
;; ;;