xz: Complete -T/--threads argument
parent
dbb93ae77b
commit
9e2db8a03e
|
@ -23,6 +23,10 @@ _xz()
|
||||||
COMPREPLY=( $( compgen -W 'auto xz lzma raw' -- "$cur" ) )
|
COMPREPLY=( $( compgen -W 'auto xz lzma raw' -- "$cur" ) )
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
|
-T|--threads)
|
||||||
|
COMPREPLY=( $( compgen -W "{0..$(_ncpus)}" -- "$cur" ) )
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
-M|--memlimit|--memlimit-compress|--memlimit-decompress|--memory|\
|
-M|--memlimit|--memlimit-compress|--memlimit-decompress|--memory|\
|
||||||
-S|--suffix|--delta|--lzma1|--lzma2)
|
-S|--suffix|--delta|--lzma1|--lzma2)
|
||||||
# argument required but no completions available
|
# argument required but no completions available
|
||||||
|
|
Loading…
Reference in New Issue