brownplt / pyret-npm

Apache License 2.0
4 stars 2 forks source link

Somewhat puzzling error when program name not given #2

Open arjunguha opened 1 year ago

arjunguha commented 1 year ago
pyret
Key program not found
rzuckerm commented 7 months ago

I did some debugging on this, and it is caused by the pyret compiler itself when the options do not contain an output file. The options are passed to the compiler here, and the error message returned from the compiler is output here. Ideally, pyret should detect the insufficient arguments are given and output the help message.