complete -c nproc -s a -l all -d 'Print the number of installed processors' complete -c nproc -s h -l help -d 'Print help'