pigz: Add -p/--processes arg completion.
This commit is contained in:
parent
ec7fe00066
commit
cff897eda8
@ -6,7 +6,11 @@ _gzip()
|
||||
_init_completion || return
|
||||
|
||||
case $prev in
|
||||
-b|--blocksize|-p|--processes|-S|--suffix|-h|--help|-V|--version)
|
||||
-b|--blocksize|-S|--suffix|-h|--help|-V|--version)
|
||||
return 0
|
||||
;;
|
||||
-p|--processes)
|
||||
COMPREPLY=( $( compgen -W "{1..$(_ncpus)}" -- "$cur" ) )
|
||||
return 0
|
||||
;;
|
||||
esac
|
||||
|
Loading…
x
Reference in New Issue
Block a user