cppcheck -j: Use _ncpus.
This commit is contained in:
parent
22dff29dc4
commit
0202ac4e2a
@ -28,7 +28,7 @@ _cppcheck()
|
|||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
-j)
|
-j)
|
||||||
COMPREPLY=( $( compgen -W '{2..16}' -- "$cur" ) )
|
COMPREPLY=( $( compgen -W "{2..$(_ncpus)}" -- "$cur" ) )
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
--std)
|
--std)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user