Skip to content

Commit 0dd1b04

Browse files
author
bcoe
committed
feat: add --report-dir alias (for consistency with nyc)
1 parent 06fe119 commit 0dd1b04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/parse-args.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function buildYargs (withCommands = false) {
1616
default: 'text'
1717
})
1818
.option('reports-dir', {
19-
alias: 'o',
19+
alias: ['o', 'report-dir'],
2020
describe: 'directory where coverage reports will be output to',
2121
default: './coverage'
2222
})

0 commit comments

Comments
 (0)