We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78313b3 commit 121c390Copy full SHA for 121c390
packages/@angular/cli/commands/help.ts
@@ -56,7 +56,11 @@ const HelpCommand = Command.extend({
56
57
if (rawArgs.length > 0) {
58
if (cmd === rawArgs[0]) {
59
- this.ui.writeLine(command.printDetailedHelp(commandOptions));
+ if (command.printDetailedHelp(commandOptions)) {
60
+ this.ui.writeLine(command.printDetailedHelp(commandOptions));
61
+ } else {
62
+ this.ui.writeLine(command.printBasicHelp(commandOptions));
63
+ }
64
}
65
} else {
66
this.ui.writeLine(command.printBasicHelp(commandOptions));
0 commit comments