aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAnna Henningsen <[email protected]>2015-04-15 16:56:42 +0200
committerAnna Henningsen <[email protected]>2015-12-10 22:14:41 +0100
commit879fb9e850ef569c37dd255059f0e63b6029281a (patch)
tree557fac6e31df87d1447560b8a960b5c7f7b620ee /lib
parentd8a015519e79185f6dcf10c605927d2e06ead365 (diff)
downloadnode-coveralls-879fb9e850ef569c37dd255059f0e63b6029281a.tar.xz
node-coveralls-879fb9e850ef569c37dd255059f0e63b6029281a.zip
Change write-to-stdout option to `--stdout/-s`
Diffstat (limited to 'lib')
-rw-r--r--lib/sendToCoveralls.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sendToCoveralls.js b/lib/sendToCoveralls.js
index f574997..9606a08 100644
--- a/lib/sendToCoveralls.js
+++ b/lib/sendToCoveralls.js
@@ -21,7 +21,7 @@ var sendToCoveralls = function(obj, cb){
function hasWriteToStdoutOption(){
// look into command line arguments starting from index 2
- return process.argv.slice(2).filter(RegExp.prototype.test.bind(/^(-w|--write)$/)).length > 0;
+ return process.argv.slice(2).filter(RegExp.prototype.test.bind(/^(-s|--stdout)$/)).length > 0;
}