Commit 5be4d3e
committed
fix(gui): handle unrecognized args ez/easygui as --easy alias
- Map 'ez' and 'easygui' positional args to '--easy' flag
- Use parse_known_args() to silently ignore any other unknown args
- Prevents crashes when users run: python gui.py ez1 parent 841d021 commit 5be4d3e
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
338 | 342 | | |
339 | 343 | | |
340 | 344 | | |
| |||
344 | 348 | | |
345 | 349 | | |
346 | 350 | | |
347 | | - | |
| 351 | + | |
348 | 352 | | |
349 | 353 | | |
350 | 354 | | |
| |||
0 commit comments