diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-05-24 11:27:46 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-05-24 11:27:46 -0700 |
commit | c526e8e8ac9b8d19b251ac1766bf3c90cfddbd46 (patch) | |
tree | fdc489236c42200a152eb1c85f751fa9cb5b5f82 | |
parent | fe74b0d48fb7ebc22dbc400ac3e9aef0c033b8c4 (diff) |
show --help in emcc even if there are other args
-rwxr-xr-x | emcc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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... |