The following commit has been merged in the master branch:
commit fdc21f8ce69cc7e07991e89354b1e9afe1117195
Author: Igor Murzov <[email protected]>
Date:   Sun Dec 26 18:40:33 2010 +0300

    Add completion of -V option for sbopkg

diff --git a/completions/slackware b/completions/slackware
index 29e4d61..4d955f1 100644
--- a/completions/slackware
+++ b/completions/slackware
@@ -196,7 +196,12 @@ _sbopkg()
             _filedir -d
             return 0
             ;;
-        -s|-g|-V)
+        -s|-g)
+            return 0
+            ;;
+        -V)
+            COMPREPLY=( $( compgen -W "? \
+                `sbopkg -V ? 2>&1 | tail -n +2 | cut -f1`" -- "$cur" ) )
             return 0
             ;;
         -i|-b)

-- 
bash-completion

_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-commits

Reply via email to