-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
The --help/-h option processing works like this:
- the
Applicationhas privatewantHelpsproperty - when the
--help/-hoption is given, then thewantHelpsproperty is set totrue - when
Application::getis used to retrieve a command, then aHelpCommandis retrieved instead - the first code to call
Application::getis 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.
Metadata
Metadata
Assignees
Labels
No labels