diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/Unix/Command/_python | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index 8fc0be2ae..3d6b7af27 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-07-16 Doug Kearns <djkea2@gus.gscit.monash.edu.au> + + * unposted: Completion/Unix/Command/_python: escape colons in -W option + argument message + 2005-07-15 Wayne Davison <wayned@users.sourceforge.net> * 21464: Doc/Zsh/options.yo, Src/zsh.h, Src/options.c, Src/init.c, diff --git a/Completion/Unix/Command/_python b/Completion/Unix/Command/_python index a430bcf4d..be27f8300 100644 --- a/Completion/Unix/Command/_python +++ b/Completion/Unix/Command/_python @@ -21,7 +21,7 @@ _arguments -C -s -S \ '-u[unbuffered binary stdout and stderr]' \ '-v[verbose (trace import statements)]' \ '(1 * -)-V[display version information]' \ - '-W+[warning control]:warning filter (action:message:category:module:lineno):(default always ignore module once error)' \ + '-W+[warning control]:warning filter (action\:message\:category\:module\:lineno):(default always ignore module once error)' \ '-x[skip first line of source, allowing use of non-Unix forms of #!cmd]' \ '(-)1:script file:_files -g "*.py(|c|o)(-.)"' \ '*::script argument: _normal' && return @@ -32,7 +32,7 @@ if [[ "$state" = modules ]]; then ${${=${(f)"$(_call_program modules $words[1] -c \ 'from\ pydoc\ import\ help\;\ help\(\"modules\"\)')"}[2,-3]}:#\(package\)} ) - _wanted modules expl module compadd -a modules + _wanted modules expl module compadd -a modules && return fi return 1 |