diff --git a/.travis.yml b/.travis.yml index 4a49b9c..06bc4b6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,6 @@ language: node_js sudo: false node_js: - - "6" - "8" - "10" - "11" diff --git a/index.js b/index.js index 450c2e5..10ae1f0 100755 --- a/index.js +++ b/index.js @@ -18,8 +18,8 @@ function collectOptions (val, memo) { } else { console.log('Error: Option \'%s\' is invalid.', val) console.log('Please provide options in this way:') - console.log('-O [Key]" + coapOptionSeperator + "[Value]') - console.log('OR --coap-option [Key]' + coapOptionSeperator + '[Value]') + console.log('-O 2048' + coapOptionSeperator + 'HelloWorld') + console.log('OR --coap-option 2048' + coapOptionSeperator + 'HelloWorld') process.exit(-1) } return memo @@ -35,7 +35,7 @@ program .option('-c, --non-confirmable', 'non-confirmable', 'boolean', false) .option('-t, --timeout ', 'The maximum send time in seconds') .option('-T, --show-timing', 'Print request time, handy for simple performance tests', 'boolean', false) - .option('-O, --coap-option