Skip to content

Commit 1fcbe44

Browse files
committed
fix(pytest): add "-c configfile"
1 parent d9690e1 commit 1fcbe44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

completions/pytest

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ _pytest()
1313
local cur prev words cword split comp_args
1414
_comp_initialize -s -n : -- "$@" || return
1515

16-
local otherflags='!(-*|*[kmorpWn]*)'
16+
local otherflags='!(-*|*[kmorpcWn]*)'
1717
# shellcheck disable=SC2254
1818
case $prev in
1919
--help | --maxfail | --report | --junit-prefix | --doctest-glob | \
20-
-${otherflags}[hkmorp])
20+
-${otherflags}[hkmorpc])
2121
return
2222
;;
2323
--import-mode)

0 commit comments

Comments
 (0)