[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 2.0-6-g217e143

Ville Skyttä ville.skytta at iki.fi
Sat Jul 7 19:54:30 UTC 2012


The following commit has been merged in the master branch:
commit 217e143fd69ad2b83ec8187af2e9e1c21dcb759a
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Sat Jul 7 22:54:11 2012 +0300

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

diff --git a/completions/ssh b/completions/ssh
index 5cd03b9..590ad88 100644
--- a/completions/ssh
+++ b/completions/ssh
@@ -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

-- 
bash-completion



More information about the Bash-completion-commits mailing list