Skip to content

Commit 960b900

Browse files
author
Michael Edelman
authored
fix(amplify-codegen): Correct cli help re: codegen --maxDepth flag (#138)
1 parent f611e94 commit 960b900

File tree

1 file changed

+2
-2
lines changed
  • packages/amplify-codegen/commands/codegen

1 file changed

+2
-2
lines changed

packages/amplify-codegen/commands/codegen/codegen.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module.exports = {
77
name: featureName,
88
run: async context => {
99
if (context.parameters.options.help) {
10-
const header = `amplify ${featureName} [subcommand] [[--nodownload] [--max-depth <number>]]\nDescriptions:
10+
const header = `amplify ${featureName} [subcommand] [[--nodownload] [--maxDepth <number>]]\nDescriptions:
1111
Generates GraphQL statements (queries, mutations and subscriptions) and type annotations. \nSub Commands:`;
1212

1313
const commands = [
@@ -16,7 +16,7 @@ module.exports = {
1616
description: constants.CMD_DESCRIPTION_GENERATE_TYPES,
1717
},
1818
{
19-
name: 'statements [--nodownload] [--max-depth]',
19+
name: 'statements [--nodownload] [--maxDepth]',
2020
description: constants.CMD_DESCRIPTION_GENERATE_STATEMENTS,
2121
},
2222
{

0 commit comments

Comments
 (0)