[Bash-completion-commits] [bash-completion] 01/02: python(3): Add -X argument non-completion
Ville Skyttä
scop-guest at moszumanska.debian.org
Sat Jul 19 16:16:05 UTC 2014
This is an automated email from the git hooks/post-receive script.
scop-guest pushed a commit to branch master
in repository bash-completion.
commit eb79f9d97fc384b2cbfdb0c9a782d9ef935356ab
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Sat Jul 19 19:12:11 2014 +0300
python(3): Add -X argument non-completion
---
completions/python | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/completions/python b/completions/python
index 8736de5..b4a29ce 100644
--- a/completions/python
+++ b/completions/python
@@ -12,7 +12,7 @@ _python()
_init_completion || return
case $prev in
- -'?'|-h|--help|-V|--version|-c)
+ -'?'|-h|--help|-V|--version|-c|-X)
return 0
;;
-m)
@@ -29,7 +29,7 @@ _python()
return 0
;;
!(?(*/)python*([0-9.])|?(*/)pypy*([0-9.])|-?))
- [[ $cword -lt 2 || ${words[cword-2]} != -[QW] ]] && _filedir
+ [[ $cword -lt 2 || ${words[cword-2]} != -[QWX] ]] && _filedir
;;
esac
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/bash-completion/bash-completion.git
More information about the Bash-completion-commits
mailing list