erg-lang / erg

A statically typed language compatible with Python
http://erg-lang.org
Apache License 2.0
2.63k stars 54 forks source link

Crashes when running an erg command with no valid parameters entered #333

Closed C-BJ closed 1 year ago

C-BJ commented 1 year ago

Describe the bug?

image

Reproducible code

No response

Expected result

No response

Actual result

No response

Additional context

No response

Erg version

0.6.1

Python version

Python3.11.x

OS

Windows 11

C-BJ commented 1 year ago

Actually, I'm not sure what this command does

mtshiba commented 1 year ago

This command specifies how many seconds to wait for REPL output. The default is 10 seconds.

This option requires an argument. You did not pass any arguments, so an error was returned. But this should be exit, not panic.

C-BJ commented 1 year ago

I see

C-BJ commented 1 year ago

I think it can stay that way for now Changes can be made, but they are not necessary