Skip to content

Commit

Permalink
Fix broken --help flag
Browse files Browse the repository at this point in the history
See: chalk#32, chalk#33, chalk#39, meow#197
  • Loading branch information
msabramo committed Sep 27, 2021
1 parent 50f09f0 commit 195bd08
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,12 @@ const cli = meow(`
$ echo 'Unicorns from stdin' | chalk --stdin red bold
`, {
importMeta: import.meta,
// TODO: Disabled until https://github.com/sindresorhus/meow/issues/197 is fixed.
// allowUnknownFlags: false,
allowUnknownFlags: false,
flags: {
// TODO: Can be removed when https://github.com/sindresorhus/meow/issues/197 is fixed.
help: {type: 'boolean'},
version: {type: 'boolean'},

template: {
type: 'string',
alias: 't',
Expand Down

0 comments on commit 195bd08

Please sign in to comment.