Closed Zejnilovic closed 6 years ago
On my way on the subway I realized the -t is small switch for --trace. Moving on.
That's right, it is a global switch that Commander defines. If that's an important feature you'd like to have, there's a similar issue https://github.com/commander-rb/commander/issues/64 about disabling the -v
/ --version
predefined switch — you could create a patch if you're interested.
I have specified small switches, so they would show in help and so I have "power" over them. But when I try to use
myscript run -t alfa
, the type doesnt set. It works for-i
and-m
just fine. But with type I need to write--type
c.option('-t', '--type STRING', String
Does not work either.