improve discoverability of command-line functionality

Currently, `doctest --help` throws an ugly error; `doctest` simply does nothing.