diff --git a/lib/less/rhino.js b/lib/less/rhino.js
index <HASH>..<HASH> 100644
--- a/lib/less/rhino.js
+++ b/lib/less/rhino.js
@@ -188,14 +188,15 @@ function writeFile(filename, content) {
             return false;
         }
 
-        if (match = arg.match(/^--?([a-z][0-9a-z-]*)(?:=(.*))?$/i)) { arg = match[1] } // was (?:=([^\s]*)), check!
-        else { return arg }
+        if (match = arg.match(/^--?([a-z][0-9a-z-]*)(?:=(.*))?$/i)) { arg = match[1]; } // was (?:=([^\s]*)), check!
+        else { return arg; }
 
         switch (arg) {
             case 'v':
             case 'version':
                 console.log("lessc " + less.version.join('.') + " (LESS Compiler) [JavaScript]");
                 continueProcessing = false;
+                break;
             case 'verbose':
                 options.verbose = true;
                 break;
@@ -215,6 +216,7 @@ function writeFile(filename, content) {
                     //TODO
 //                require('../lib/less/lessc_helper').printUsage();
                 continueProcessing = false;
+                break;
             case 'x':
             case 'compress':
                 options.compress = true;
fixed some jshint errors