Note: help and version output are generated by a naïve script which tries a few variants of
<command> --help, <command> -h etc. to find the command's help and version info.
Sometimes it gets lucky, sometimes it doesn't; if the output below looks wrong, it probably is.
expect -version (return code: 0)
expect version 5.45
expect -h (return code: 1)
expect: invalid option -- 'h'
usage: expect [-div] [-c cmds] [[-f] cmdfile] [args]