Support -h and --help flags on subcommands

Fixes #805