aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-08-02 10:48:44 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-08-02 10:49:01 -0700
commit61d8808b5342e56eb3a6a6cbb599d7f92ee85134 (patch)
tree4659553071b2ba2888e4db159035c926d5bd996b
parent767b7f70523b5b66aac1594c4a3839bd4deaa5e9 (diff)
properly deprecate all arguments to --minify except for 0
-rwxr-xr-xemcc1
1 files changed, 1 insertions, 0 deletions
diff --git a/emcc b/emcc
index 6ccb1a73..8f71883d 100755
--- a/emcc
+++ b/emcc
@@ -787,6 +787,7 @@ try:
newargs[i+1] = ''
elif newargs[i].startswith('--minify'):
check_bad_eq(newargs[i])
+ assert newargs[i+1] == '0', '0 is the only supported option for --minify; 1 has been deprecated'
debug_level = max(1, debug_level)
newargs[i] = ''
newargs[i+1] = ''