Skip to content

Commit

Permalink
default all options to long form
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Coe committed Mar 12, 2016
1 parent 85a9a46 commit 536c6a5
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions bin/nyc.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,31 +34,31 @@ var yargs = require('yargs')
default: 'coverage',
global: true
})
.option('s', {
alias: 'silent',
.option('silent', {
alias: 's',
default: false,
type: 'boolean',
describe: "don't output a report after tests finish running"
})
.option('a', {
alias: 'all',
.option('all', {
alias: 'a',
default: false,
type: 'boolean',
describe: 'whether or not to instrument all files of the project (not just the ones touched by your test suite)'
})
.option('i', {
alias: 'require',
.option('require', {
alias: 'i',
default: [],
describe: 'a list of additional modules that nyc should attempt to require in its subprocess, e.g., babel-register, babel-polyfill.'
})
.option('c', {
alias: 'cache',
.option('cache', {
alias: 'c',
default: false,
type: 'boolean',
describe: 'cache instrumentation results for improved performance'
})
.options('e', {
alias: 'extension',
.options('extension', {
alias: 'e',
default: [],
describe: 'a list of extensions that nyc should handle in addition to .js'
})
Expand Down

0 comments on commit 536c6a5

Please sign in to comment.