ssh: Add -O argument completion (Debian: #680652).

This commit is contained in:
Ville Skyttä 2012-07-07 22:54:11 +03:00
parent f3e3fc5a4d
commit 217e143fd6

View File

@ -129,6 +129,10 @@ _ssh()
COMPREPLY=( $( compgen -u -- "$cur" ) )
return 0
;;
-O)
COMPREPLY=( $( compgen -W 'check forward exit stop' -- "$cur" ) )
return 0
;;
-o)
_ssh_options
return 0
@ -141,7 +145,7 @@ _ssh()
_ip_addresses
return 0
;;
-D|-e|-I|-L|-O|-p|-R|-W)
-D|-e|-I|-L|-p|-R|-W)
return 0
;;
esac