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

This commit is contained in:
Ville Skyttä 2009-04-15 11:34:31 +03:00
parent 10f2c7bea5
commit fcce6cc263
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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
;;