From 1dd56d4f839095ae80dd6ef9e177aa22683954d5 Mon Sep 17 00:00:00 2001 From: flou Date: Thu, 27 Dec 2018 11:16:35 +0100 Subject: [PATCH] fix(toolkit): fix typo in --rename option description (#1438) --- docs/src/tools.rst | 2 +- packages/aws-cdk/bin/cdk.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/tools.rst b/docs/src/tools.rst index 7b47d30f831c9..a1f1d436a329c 100644 --- a/docs/src/tools.rst +++ b/docs/src/tools.rst @@ -71,7 +71,7 @@ Here are the actions you can take on your CDK app --context, -c Add contextual string parameter. [array] --plugin, -p Name or path of a node package that extend the CDK features. Can be specified multiple times [array] - --rename Rename stack name if different then the one defined in + --rename Rename stack name if different from the one defined in the cloud executable [string] --trace Print trace for stack warnings [boolean] --strict Do not construct stacks with warnings [boolean] diff --git a/packages/aws-cdk/bin/cdk.ts b/packages/aws-cdk/bin/cdk.ts index 32de0c5f228c1..0682e7db32b32 100644 --- a/packages/aws-cdk/bin/cdk.ts +++ b/packages/aws-cdk/bin/cdk.ts @@ -34,7 +34,7 @@ async function parseCommandLineArguments() { .option('app', { type: 'string', alias: 'a', desc: 'REQUIRED: Command-line for executing your CDK app (e.g. "node bin/my-app.js")' }) .option('context', { type: 'array', alias: 'c', desc: 'Add contextual string parameter.', nargs: 1, requiresArg: 'KEY=VALUE' }) .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 }) - .option('rename', { type: 'string', desc: 'Rename stack name if different then the one defined in the cloud executable', requiresArg: '[ORIGINAL:]RENAMED' }) + .option('rename', { type: 'string', desc: 'Rename stack name if different from the one defined in the cloud executable', requiresArg: '[ORIGINAL:]RENAMED' }) .option('trace', { type: 'boolean', desc: 'Print trace for stack warnings' }) .option('strict', { type: 'boolean', desc: 'Do not construct stacks with warnings' }) .option('ignore-errors', { type: 'boolean', default: false, desc: 'Ignores synthesis errors, which will likely produce an invalid output' })