We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8cec3ce commit ba30cc1Copy full SHA for ba30cc1
packages/@angular/cli/commands/help.ts
@@ -55,7 +55,13 @@ const HelpCommand = Command.extend({
55
});
56
57
if (rawArgs.length > 0) {
58
- if (cmd === rawArgs[0]) {
+ let commandInput = rawArgs[0];
59
+ const aliases = Command.prototype.aliases;
60
+ if (aliases && aliases.indexOf(commandInput) > -1) {
61
+ commandInput = Command.prototype.name;
62
+ }
63
+
64
+ if (cmd === commandInput) {
65
if (command.printDetailedHelp(commandOptions)) {
66
this.ui.writeLine(command.printDetailedHelp(commandOptions));
67
} else {
0 commit comments