[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-235-g26ae770

Igor Murzov igor at gplsoft.org
Mon May 2 10:27:02 UTC 2011


The following commit has been merged in the master branch:
commit 34b0c489982ae009d8ea50109fe3dbdee63d4bd1
Author: Igor Murzov <igor at gplsoft.org>
Date:   Mon Jul 5 19:15:53 2010 +0400

    Add -h|--help options to slapt-get completion

diff --git a/contrib/slackware b/contrib/slackware
index 6e43c97..c8b5fee 100644
--- a/contrib/slackware
+++ b/contrib/slackware
@@ -27,8 +27,8 @@ _slapt-get()
             --config -c --remove-obsolete --retry --no-upgrade \
             --update -u --upgrade --dist-upgrade --install -i --install-set \
             --remove --show --filelist --search --list --available \
-            --installed --clean --autoclean --add-keys --version' \
-                -- "$cur" ) )
+            --installed --clean --autoclean --add-keys \
+            --version --help -h' -- "$cur" ) )
         return 0
     fi
 
@@ -73,7 +73,7 @@ _slapt-get()
             COMPREPLY=( $( (cd /var/log/packages; compgen -f -- "$cur") ) )
             return 0
             ;;
-        set)
+        set) # --install-set
             COMPREPLY=( $( compgen -W 'a ap d e f k kde kdei l n t tcl x \
                 xap y' -- "$cur" ) )
             return 0

-- 
bash-completion



More information about the Bash-completion-commits mailing list