diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-05-03 10:47:23 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-05-03 10:47:23 -0700 |
commit | 2cd4b8256af6611460f86c5781a233c618625488 (patch) | |
tree | cf74742c2ddcae900bd648ca0a41d7f29d6e9f2a | |
parent | 505f5f10af17e5d9994e1840c30498d2fbda8510 (diff) |
restore warning on no input files, to match gcc
-rwxr-xr-x | emcc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -121,6 +121,10 @@ shared.check_sanity(force=DEBUG) # Handle some global flags +if len(sys.argv) == 1: + logging.warning('no input files') + exit(1) + # read response files very early on response_file = True while response_file: |