this fixes the bug that when only --help is passed, the program exits without printing help message due to invalid bundle; now --help is checked in main() before everything else
Merge pull request #4 from racker/songgao/check_help_flag_in_main_before_everythin

check --help in main() before everything else