You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(cli): Report error if unwanted positional arguments are received (#1100)
This applies to check-coverage, instrument, merge and report. Passing
additional arguments will now cause the help script to be displayed and
an error exit code.
Unknown flags `nyc report --unknown=1` are still not reported.
Reporting unknown flags would require additional work as
`yargs.strict()` causes unknown items from configuration to be reported,
including flags that are defined for the global command but not a
sub-command.
Fixes#401
0 commit comments