diff --git a/src/commands/action/cmd-action.ts b/src/commands/action/cmd-action.ts index b8e7db161..fb14514df 100644 --- a/src/commands/action/cmd-action.ts +++ b/src/commands/action/cmd-action.ts @@ -28,12 +28,12 @@ const config: CliCommandConfig = { description: 'After marker' } }, - help: (parentName, { commandName, flags }) => ` + help: (command, config) => ` Usage - $ ${parentName} ${commandName} [options] + $ ${command} [options] Options - ${getFlagListOutput(flags, 6)} + ${getFlagListOutput(config.flags, 6)} ` } diff --git a/src/commands/analytics/cmd-analytics.ts b/src/commands/analytics/cmd-analytics.ts index b993bfb31..3e7dfac0c 100644 --- a/src/commands/analytics/cmd-analytics.ts +++ b/src/commands/analytics/cmd-analytics.ts @@ -42,20 +42,20 @@ const config: CliCommandConfig = { description: 'Path to a local file to save the output' } }, - help: (parentName, { commandName, flags }) => ` + help: (command, config) => ` Usage - $ ${parentName} ${commandName} --scope= --time=