aboutsummaryrefslogtreecommitdiff
path: root/emcc
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-05-24 11:27:46 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-05-24 11:27:46 -0700
commitc526e8e8ac9b8d19b251ac1766bf3c90cfddbd46 (patch)
treefdc489236c42200a152eb1c85f751fa9cb5b5f82 /emcc
parentfe74b0d48fb7ebc22dbc400ac3e9aef0c033b8c4 (diff)
show --help in emcc even if there are other args
Diffstat (limited to 'emcc')
-rwxr-xr-xemcc2
1 files changed, 1 insertions, 1 deletions
diff --git a/emcc b/emcc
index ce73febb..f60ddbaa 100755
--- a/emcc
+++ b/emcc
@@ -110,7 +110,7 @@ while response_file:
sys.argv[index:index+1] = extra_args
break
-if len(sys.argv) == 1 or sys.argv[1] == '--help':
+if len(sys.argv) == 1 or '--help' in sys.argv:
this = os.path.basename('em++' if os.environ.get('EMMAKEN_CXX') else 'emcc')
print '''%s [options] file...