Skip to content

Commit

Permalink
fix: doMadwizard was not passing through -h/-v
Browse files Browse the repository at this point in the history
  • Loading branch information
starpit committed Feb 20, 2023
1 parent 6ed114c commit 87161dd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plugins/plugin-madwizard/do/src/doMadwizard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,10 @@ export function doMadwizard({
'madwizard',
task,
...argvNoOptions.slice(idx),
...(parsedOptions.v ? ['-v'] : []),
...(parsedOptions.version ? ['--version'] : []),
...(parsedOptions.h ? ['-h'] : []),
...(parsedOptions.help ? ['--help'] : []),
...(parsedOptions.n ? ['--no-profile'] : []),
...(parsedOptions.i ? ['-i'] : []),
...(parsedOptions['--'] ? ['--', ...parsedOptions['--']] : [])
Expand Down

0 comments on commit 87161dd

Please sign in to comment.