aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/uglifyjs2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/uglifyjs b/bin/uglifyjs
index 1f449aa9..90197cc4 100755
--- a/bin/uglifyjs
+++ b/bin/uglifyjs
@@ -501,7 +501,7 @@ function normalize(o) {
function getOptions(flag, constants) {
var x = ARGS[flag];
- if (x == null) return null;
+ if (x == null || x === false) return null;
var ret = {};
if (x !== "") {
if (Array.isArray(x)) x = x.map(function (v) { return "(" + v + ")"; }).join(", ");