Skip to content
This repository has been archived by the owner on Apr 7, 2021. It is now read-only.

Commit

Permalink
fix(help): fuck it. just hard-code it
Browse files Browse the repository at this point in the history
  • Loading branch information
zkat committed Jun 22, 2017
1 parent b3b5ef6 commit d5d5085
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions parse-args.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,13 +144,13 @@ function guessCmdName (spec) {

function yargsParser (argv) {
const usage = `
$0 [${Y()`options`}] <${Y()`command`}>[@${Y()`version`}] [${Y()`command-arg`}]...
npx [${Y()`options`}] <${Y()`command`}>[@${Y()`version`}] [${Y()`command-arg`}]...
$0 [${Y()`options`}] [-p|--package <${Y()`package`}>]... <${Y()`command`}> [${Y()`command-arg`}]...
npx [${Y()`options`}] [-p|--package <${Y()`package`}>]... <${Y()`command`}> [${Y()`command-arg`}]...
$0 [${Y()`options`}] -c '<${Y()`command-string`}>'
npx [${Y()`options`}] -c '<${Y()`command-string`}>'
$0 --shell-auto-fallback [${Y()`shell`}]
npx --shell-auto-fallback [${Y()`shell`}]
`

return require('yargs')
Expand Down

0 comments on commit d5d5085

Please sign in to comment.