[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-171-gc875723

Ville Skyttä ville.skytta at iki.fi
Mon May 2 09:55:23 UTC 2011


The following commit has been merged in the master branch:
commit 4c91151a8c2b7ff9aafc05c78c85f4162d739050
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Mon May 2 11:15:30 2011 +0300

    configure: Add some option argument completions.

diff --git a/completions/configure b/completions/configure
index 06baa77..285edb3 100644
--- a/completions/configure
+++ b/completions/configure
@@ -8,8 +8,17 @@ _configure()
     _init_completion -s || return
 
     case $prev in
+        -h|--help|-V|--version|--program-prefix|--program-suffix|\
+        --program-transform-name)
+            return
+            ;;
+        --*file)
+            _filedir
+            return
+            ;;
         --*prefix|--*dir)
             _filedir -d
+            return
             ;;
     esac
 

-- 
bash-completion



More information about the Bash-completion-commits mailing list