From fcce6cc263d10466c6134618a9eee69fefe41deb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Wed, 15 Apr 2009 11:34:31 +0300 Subject: [PATCH] Add make --old/new-file, --assume-old/new, --what-if value completions. --- CHANGES | 1 + bash_completion | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 215e6461..e152dfd6 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 99b88e0f..c8272ff1 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 ;;