mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-19 13:33:52 +01:00
unposted: add missing -C option to _arguments in _python
This commit is contained in:
parent
b2cfbabced
commit
2f51268ee6
@ -1,3 +1,8 @@
|
||||
2005-07-15 Doug Kearns <djkea2@gus.gscit.monash.edu.au>
|
||||
|
||||
* unposted: Completion/Unix/Command/_python: add missing -C option to
|
||||
_arguments; complete script arguments with _normal
|
||||
|
||||
2005-07-14 Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
|
||||
|
||||
* 21466: Src/Modules/files.c: lstat() should be stat() in mkdir -p
|
||||
|
@ -5,7 +5,7 @@
|
||||
local curcontext="$curcontext" state line expl
|
||||
typeset -A opt_args
|
||||
|
||||
_arguments -s -S \
|
||||
_arguments -C -s -S \
|
||||
'(1 -)-c+[program passed in as string (terminates option list)]:python command:' \
|
||||
'-d[debug output from parser]' \
|
||||
'-E[ignore environment variables (such as PYTHONPATH)]' \
|
||||
@ -24,7 +24,7 @@ _arguments -s -S \
|
||||
'-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:_files' && return
|
||||
'*::script argument: _normal' && return
|
||||
|
||||
if [[ "$state" = modules ]]; then
|
||||
local -a modules
|
||||
|
Loading…
Reference in New Issue
Block a user