Skip to content

Commit 0795e11

Browse files
committed
docs(@angular/cli): format [collection:schematic] as code in generate help
Wrap `[collection:schematic]` in backticks in the `ng generate` positional argument description so that it renders as inline code rather than an unresolved Markdown link reference in generated documentation. (cherry picked from commit cea0b42)
1 parent 800dfd7 commit 0795e11

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/angular/cli/src/commands/generate

‎packages/angular/cli/src/commands/generate/cli.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export default class GenerateCommandModule
4747
builder: (localYargs) =>
4848
localYargs
4949
.positional('schematic', {
50-
describe: 'The [collection:schematic] to run.',
50+
describe: 'The `[collection:schematic]` to run.',
5151
type: 'string',
5252
demandOption: true,
5353
})

0 commit comments

Comments
 (0)