[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.90-162-g587d268

Igor Murzov e-mail at date.by
Sun Apr 15 20:42:15 UTC 2012


The following commit has been merged in the master branch:
commit 587d26834ac7116afedfdad86f6cc7a931fbf57d
Author: Igor Murzov <e-mail at date.by>
Date:   Mon Apr 16 00:37:14 2012 +0400

    cppcheck: Complete new --relative-paths option arguments
    (introduced in cppcheck-1.54).

diff --git a/completions/cppcheck b/completions/cppcheck
index d3c7a42..bcf937b 100644
--- a/completions/cppcheck
+++ b/completions/cppcheck
@@ -48,6 +48,12 @@ _cppcheck()
                 -- "$cur" ) )
             return
             ;;
+        -rp|--relative-paths)
+            if $split; then # -rp without argument is allowed
+                _filedir -d
+                return
+            fi
+            ;;
         --xml-version)
             COMPREPLY=( $( compgen -W '1 2' -- "$cur" ) )
             return

-- 
bash-completion



More information about the Bash-completion-commits mailing list