Skip to content

Commit 72beabe

Browse files
committed
pypy*: Add basic --jit arg completion
1 parent 35767bf commit 72beabe

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

completions/python

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ _python()
3737
-P "$prefix" -- "$cur" ) )
3838
return 0
3939
;;
40+
--jit)
41+
# TODO: quite a few others, parse from "--jit help" output?
42+
COMPREPLY=( $( compgen -W "help off" -- "$cur" ) )
43+
return 0
44+
;;
4045
!(?(*/)python*([0-9.])|?(*/)pypy*([0-9.])|-?))
4146
[[ $cword -lt 2 || ${words[cword-2]} != -[QWX] ]] && _filedir
4247
;;

0 commit comments

Comments
 (0)