Skip to content

Commit

Permalink
Disable the help for the main command
Browse files Browse the repository at this point in the history
  • Loading branch information
danez committed Dec 17, 2022
1 parent 449b479 commit ebd9130
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/blue-points-exist.md
@@ -0,0 +1,5 @@
---
'@react-docgen/cli': patch
---

Display the correct help info when running `react-docgen --help`
1 change: 1 addition & 0 deletions packages/react-docgen-cli/src/cli.ts
Expand Up @@ -3,6 +3,7 @@ import { program } from 'commander';

program
.name('react-docgen')
.helpOption(false)
.executableDir('./commands/')
.command('parse', 'Extract meta information from React components.', {
isDefault: true,
Expand Down

0 comments on commit ebd9130

Please sign in to comment.