pdldoc version (return code: 0)
No PDL docs for 'version'. Using 'whatis'. (Try 'apropos version'?)
'version'
pdldoc --help (return code: 2)
Usage: pdldoc [-a] [-b] [-h] [-s] [-u] <string>
This program provides command-line access to the PDL documentation.
If no flag is specified, -h is assumed.
-a (apropos) searches the documentation for the string
-b (badinfo) does the function support bad values?
-h (help) prints the help for the function/module/document
-s (sig) prints the signature of the function
-u (usage) gives usage information on the function