Similar to Why are parameters to Bash's builtin optional?, these commands print nothing and return exit code 0 if no parameters are provided. But unlike
help output state that at least one parameter is mandatory. Is this a bug, a feature, or did I misunderstand something?
$ bash --version GNU bash, version 4.2.10(1)-release (x86_64-pc-linux-gnu) $ type -a command command is a shell builtin $ type -a type type is a shell builtin $ help -s command command: command [-pVv] command [arg ...] $ help -s type type: type [-afptP] name [name ...] $ command $ echo $? 0 $ type $ echo $? 0