summaryrefslogtreecommitdiffstatshomepage
path: root/py/parse.c
diff options
context:
space:
mode:
authorDavid Lechner <david@pybricks.com>2020-02-01 11:39:18 -0600
committerDamien George <damien.p.george@gmail.com>2020-02-04 17:54:31 +1100
commit83439e38fc025bda79eec0096b8cc60379757206 (patch)
tree09fd27e3c92990e05bdfedd87370ea11704f275e /py/parse.c
parent5a63bc5a448720c875da408fd1ecc0536124e516 (diff)
downloadmicropython-83439e38fc025bda79eec0096b8cc60379757206.tar.gz
micropython-83439e38fc025bda79eec0096b8cc60379757206.zip
unix/main: Add command-line -h option for printing help text.
This adds a -h option to print the usage help text and adds a new, shorter error message that is printed when invalid arguments are given. This behaviour follows CPython (and other tools) more closely.
Diffstat (limited to 'py/parse.c')
0 files changed, 0 insertions, 0 deletions