When invoking the interpreter from the command line without arguments, a usage message is currently printed to stderr, and an error code is returned.
A -h or --help option should be added to the command line interface, resulting ihe same message being printed to stdout (and a success code to be returned).
This will also allow us to write at least a very basic test that verifies that indeed a working executable is produced by the build step.
When invoking the interpreter from the command line without arguments, a usage message is currently printed to
stderr
, and an error code is returned.A
-h
or--help
option should be added to the command line interface, resulting ihe same message being printed tostdout
(and a success code to be returned).This will also allow us to write at least a very basic test that verifies that indeed a working executable is produced by the build step.