Skip to content

Commit 0ad903c

Browse files
committed
zsh-completion: update --filtered option to -f/--filter
1 parent 7d66dfd commit 0ad903c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

completion/zsh/_pkgcheck

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ case $state in
149149
scan_opts=(
150150
{'(--repo)-r','(-r)--repo'}'[repo to pull packages from]:repo:_repos'
151151
{'(--reporter)-R','(-R)--reporter'}"[use a non-default reporter]:reporters:_reporters"
152-
"--filtered[enable all license and visibility filtering for packages]:yes/no:((y\:'yes' n\:'no'))"
152+
{'(--filter)-f','(-f)--filter'}"[limit targeted packages for scanning]:filter:(latest repo)"
153153
{'(--jobs)-j','(-j)--jobs'}'[number of checks to run in parallel]:jobs'
154154
{'(--tasks)-t','(-t)--tasks'}'[number of asynchronous tasks to run concurrently]:tasks'
155155
'--cache[forcibly enable/disable caches]:cache types:{_values -s , "cache types" $caches}'

0 commit comments

Comments
 (0)