You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when the --help/-h option is given, then the wantHelps property is set to true
when Application::get is used to retrieve a command, then a HelpCommand is retrieved instead
the first code to call Application::get is the one, that executes the command, that the user requested
.
However, the AggregateCommand::setApplication method requests all commands but doesn't execute all of them causing the wantHelps property to reset and no help screen is shown.
The text was updated successfully, but these errors were encountered:
The
--help
/-h
option processing works like this:Application
has privatewantHelps
property--help
/-h
option is given, then thewantHelps
property is set totrue
Application::get
is used to retrieve a command, then aHelpCommand
is retrieved insteadApplication::get
is the one, that executes the command, that the user requested.
However, the
AggregateCommand::setApplication
method requests all commands but doesn't execute all of them causing thewantHelps
property to reset and no help screen is shown.The text was updated successfully, but these errors were encountered: