Skip to content

Commit

Permalink
fix: usage options from yargs
Browse files Browse the repository at this point in the history
  • Loading branch information
TaylorHo committed Apr 18, 2024
1 parent 1830dd4 commit aacdd23
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ const yargsParameters = hideBin(process.argv);

yargs(yargsParameters)
.scriptName('create-hook')
.usage('$0')
.usage('npx $0')
.usage('Usage: $0 <command> [options]')
.wrap(yargs(yargsParameters).terminalWidth())
.command('changelog', 'Open the tool changelog', () => {}, () => {
log.success('Changelog URL: https://github.com/hotaydev/git-hook-creator/releases');
Expand Down

0 comments on commit aacdd23

Please sign in to comment.