cppcheck -j: Use _ncpus.

This commit is contained in:
Ville Skyttä 2011-11-09 18:35:37 +02:00
parent 22dff29dc4
commit 0202ac4e2a

View File

@ -28,7 +28,7 @@ _cppcheck()
return
;;
-j)
COMPREPLY=( $( compgen -W '{2..16}' -- "$cur" ) )
COMPREPLY=( $( compgen -W "{2..$(_ncpus)}" -- "$cur" ) )
return
;;
--std)