Skip to content

Commit

Permalink
fix: fix help command
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Feb 17, 2018
1 parent fbafdbb commit c60c0cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default class Help {
const getHelpSubject = () => {
// special case
// if (['help:help', 'help:--help', '--help:help'].includes(argv.slice(0, 2).join(':'))) {
if (argv[0] === 'help') return 'help'
// if (argv[0] === 'help') return 'help'

for (let arg of argv) {
if (arg === '--') return
Expand Down

0 comments on commit c60c0cb

Please sign in to comment.