The following commit has been merged in the master branch:
commit fcce6cc263d10466c6134618a9eee69fefe41deb
Author: Ville Skyttä <[email protected]>
Date:   Wed Apr 15 11:34:31 2009 +0300

    Add make --old/new-file, --assume-old/new, --what-if value completions.

diff --git a/CHANGES b/CHANGES
index 215e646..e152dfd 100644
--- a/CHANGES
+++ b/CHANGES
@@ -40,6 +40,7 @@ bash-completion (1.x)
   * Add chgrp --reference value completion.
   * Do not assume all --foo= options take filenames in generic long option
     completion, assume only that --*file*= does, and that --*dir*= takes dirs.
+  * Add make --old/new-file, --assume-old/new, --what-if value completions.
 
   [ Todd Zullinger ]
   * Make yum complete on filenames after install, deplist, update and upgrade
diff --git a/bash_completion b/bash_completion
index 99b88e0..c8272ff 100644
--- a/bash_completion
+++ b/bash_completion
@@ -2975,7 +2975,7 @@ _make()
        _split_longopt && split=true
 
        case $prev in
-               -@(f|o|W|-?(make)file))
+               -@(f|o|W|-@(?(make|old-|new-)file|assume-@(old|new)|what-if)))
                        _filedir
                        return 0
                        ;;

-- 
bash-completion

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

Reply via email to