[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-438-ge81223a
Igor Murzov
e-mail at date.by
Sun Sep 25 23:03:59 UTC 2011
The following commit has been merged in the master branch:
commit a1b8148d234f5a49d8da28977387e0463ce349ed
Author: Igor Murzov <e-mail at date.by>
Date: Fri Sep 16 21:06:25 2011 +0400
cppcheck: Complete --std= option arguments
See: https://github.com/danmar/cppcheck/commit/afed93d7d631398876b75f0f398748d03f0a772e
diff --git a/completions/cppcheck b/completions/cppcheck
index d2791cc..fc98251 100644
--- a/completions/cppcheck
+++ b/completions/cppcheck
@@ -33,6 +33,10 @@ _cppcheck()
COMPREPLY=( $( compgen -W '{2..16}' -- "$cur" ) )
return
;;
+ --std)
+ COMPREPLY=( $( compgen -W 'posix' -- "$cur" ) )
+ return
+ ;;
--xml-version)
COMPREPLY=( $( compgen -W '1 2' -- "$cur" ) )
return
--
bash-completion
More information about the Bash-completion-commits
mailing list