skejeton / umka-args

1 stars 1 forks source link

Runtime error with positional arguments after mode #3

Closed marekmaskarinec closed 3 months ago

marekmaskarinec commented 3 months ago

I found an issue where if a mode has positional arguments, providing an optional one will cause a runtime error. For example, try umbox init --help.

skejeton commented 3 months ago

Strange, I thought I fixed this bug in https://github.com/skejeton/umka-args/commit/3a0f1707591b641a103ce46f1d985657fda88a80, do you have an outdated version of args.um in umbox? The command works just fine for me. A stack trace would be helpful. image

marekmaskarinec commented 3 months ago

Yes, my local copy of args.um is outdated. Sorry for bothering.

skejeton commented 3 months ago

Don't worry, it happens =)