We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b5dbad commit 06d332bCopy full SHA for 06d332b
packages/angular/cli/commands/generate-impl.ts
@@ -37,7 +37,11 @@ export class GenerateCommand extends SchematicCommand<GenerateCommandSchema> {
37
);
38
}
39
40
- this.description.suboptions[`${collectionName}:${name}`] = options;
+ if (this.getDefaultSchematicCollection() == collectionName) {
41
+ this.description.suboptions[name] = options;
42
+ } else {
43
+ this.description.suboptions[`${collectionName}:${name}`] = options;
44
+ }
45
46
47
this.description.options.forEach(option => {
0 commit comments