Skip to content

Commit

Permalink
Merge pull request #25723 from storybookjs/valentin/small-command-opt…
Browse files Browse the repository at this point in the history
…ion-description-adjustments

CLI: Update CLI option descriptions
  • Loading branch information
valentinpalkovic authored Jan 23, 2024
2 parents 9e94c62 + 4f55efd commit a606619
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/lib/cli/src/generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ const command = (name: string) =>
.command(name)
.option(
'--disable-telemetry',
'disable sending telemetry data',
'Disable sending telemetry data',
// default value is false, but if the user sets STORYBOOK_DISABLE_TELEMETRY, it can be true
process.env.STORYBOOK_DISABLE_TELEMETRY && process.env.STORYBOOK_DISABLE_TELEMETRY !== 'false'
)
.option('--debug', 'Get more logs in debug mode', false)
.option('--enable-crash-reports', 'enable sending crash reports to telemetry data');
.option('--enable-crash-reports', 'Enable sending crash reports to telemetry data');

command('init')
.description('Initialize Storybook into your project.')
Expand Down

0 comments on commit a606619

Please sign in to comment.