diff --git a/main.py b/main.py index f972f20..a53679f 100644 --- a/main.py +++ b/main.py @@ -317,6 +317,9 @@ def main(): configuration['include_file_name'] = args.include_file_name + if not args.elf_file: + parser.print_help() + exit(1) if not os.path.exists(args.elf_file): eprint('File {elf_file} does not exist!'.format(elf_file=args.elf_file)) exit(1)