Closed JosephPecoraro closed 4 years ago
@orien Recent regression due to your changes? I find it extremely useful that I could just add --help
at the end of a line to force get the help for the command.
Hey @JosephPecoraro, I'm trying to track down a version of Commander where the example works but cannot find one. I've tried several, going back to version 4.4.0. They all seem to give the same result.
invalid command. Use --help for more information
Which version is working for you?
I'm also having trouble finding a version where that specific example works. The version without argument works, both in the latest version and previous:
$ ruby foo.rb cmd --help
But adding the argument "a" causes the invalid command error at least back to v4.1.
Hmm, well I may have been using a super old version of commander... It does seem like this should work though right?
Given a sample program:
Previously you could use the global
--help
anywhere on the line but now you can't. This used to provide the help forcmd
, but no longer does:Seems like a recent regression.