diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-08-02 10:48:44 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-08-02 10:49:01 -0700 |
commit | 61d8808b5342e56eb3a6a6cbb599d7f92ee85134 (patch) | |
tree | 4659553071b2ba2888e4db159035c926d5bd996b | |
parent | 767b7f70523b5b66aac1594c4a3839bd4deaa5e9 (diff) |
properly deprecate all arguments to --minify except for 0
-rwxr-xr-x | emcc | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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] = '' |