Skip to content

Commit

Permalink
docs(staging): mention that "no-staging" flag is needed for SAM CLI d…
Browse files Browse the repository at this point in the history
…ebugging (aws#2702)

Related aws#2586
  • Loading branch information
Gaafar authored and rix0rrr committed May 31, 2019
1 parent 394b796 commit 3d4adfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/aws-cdk/bin/cdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async function parseCommandLineArguments() {
.option('asset-metadata', { type: 'boolean', desc: 'Include "aws:asset:*" CloudFormation metadata for resources that user assets (enabled by default)', default: true })
.option('role-arn', { type: 'string', alias: 'r', desc: 'ARN of Role to use when invoking CloudFormation', default: undefined, requiresArg: true })
.option('toolkit-stack-name', { type: 'string', desc: 'The name of the CDK toolkit stack', requiresArg: true })
.option('staging', { type: 'boolean', desc: 'copy assets to the output directory (use --no-staging to disable)', default: true })
.option('staging', { type: 'boolean', desc: 'copy assets to the output directory (use --no-staging to disable, needed for local debugging the source files with SAM CLI)', default: true })
.option('output', { type: 'string', alias: 'o', desc: 'emits the synthesized cloud assembly into a directory (default: cdk.out)', requiresArg: true })
.command([ 'list', 'ls' ], 'Lists all stacks in the app', yargs => yargs
.option('long', { type: 'boolean', default: false, alias: 'l', desc: 'display environment information for each stack' }))
Expand Down

0 comments on commit 3d4adfb

Please sign in to comment.