diff --git a/exec/mqtt_pub.js b/exec/mqtt_pub.js index 7c5d4aa8a60a9d626adcb3221ab2662b7cfff8c7..5f027a0e5df2217ad9ad42feb6ac781482f87c75 100644 --- a/exec/mqtt_pub.js +++ b/exec/mqtt_pub.js @@ -62,9 +62,8 @@ for(var i = 0; i < argc; ++i) { break; case '?': case 'help': - usage(); default: - options[argv[i].slice(1)] = true; + usage(); break; } }