Skip to content

Commit 1dd56d4

Browse files
flouElad Ben-Israel
authored andcommitted
fix(toolkit): fix typo in --rename option description (#1438)
1 parent 6baa8df commit 1dd56d4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/src/tools.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Here are the actions you can take on your CDK app
7171
--context, -c Add contextual string parameter. [array]
7272
--plugin, -p Name or path of a node package that extend the CDK
7373
features. Can be specified multiple times [array]
74-
--rename Rename stack name if different then the one defined in
74+
--rename Rename stack name if different from the one defined in
7575
the cloud executable [string]
7676
--trace Print trace for stack warnings [boolean]
7777
--strict Do not construct stacks with warnings [boolean]

packages/aws-cdk/bin/cdk.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ async function parseCommandLineArguments() {
3434
.option('app', { type: 'string', alias: 'a', desc: 'REQUIRED: Command-line for executing your CDK app (e.g. "node bin/my-app.js")' })
3535
.option('context', { type: 'array', alias: 'c', desc: 'Add contextual string parameter.', nargs: 1, requiresArg: 'KEY=VALUE' })
3636
.option('plugin', { type: 'array', alias: 'p', desc: 'Name or path of a node package that extend the CDK features. Can be specified multiple times', nargs: 1 })
37-
.option('rename', { type: 'string', desc: 'Rename stack name if different then the one defined in the cloud executable', requiresArg: '[ORIGINAL:]RENAMED' })
37+
.option('rename', { type: 'string', desc: 'Rename stack name if different from the one defined in the cloud executable', requiresArg: '[ORIGINAL:]RENAMED' })
3838
.option('trace', { type: 'boolean', desc: 'Print trace for stack warnings' })
3939
.option('strict', { type: 'boolean', desc: 'Do not construct stacks with warnings' })
4040
.option('ignore-errors', { type: 'boolean', default: false, desc: 'Ignores synthesis errors, which will likely produce an invalid output' })

0 commit comments

Comments
 (0)