Code coverage report for stylus-lint/src/help.js

Statements: 100% (9 / 9)      Branches: 100% (0 / 0)      Functions: 100% (1 / 1)      Lines: 100% (9 / 9)      Ignored: none     

All files » stylus-lint/src/ » help.js
1 2 3 4 5 6 7 8 9 10 11 12    1 1 1 1 1 1 1 1 1  
'use strict';
// called when -h or --help used, just displays options
module.exports = function help( app ) {
    console.log( '\nStylint' );
    console.log( 'Usage: stylint [dir | file] [options]\n' );
    console.log( 'Options:');
    console.log( '-h', '--help', '  Display list of commands' );
    console.log( '-w', '--watch', ' Watch file or directory and run lint on change' );
    console.log( '-c', '--config', '    Pass in location of custom config file' );
    console.log( '-s', '--strict', '    Run all tests, regardless of config' );
    console.log( '-v', '--version', '   Get current version\n' );
}