mkenums: don't try to call undefined function

argparse will take care about everything

Signed-off-by: Igor Gnatenko <ignatenko@src.gnome.org>
This commit is contained in:
Igor Gnatenko 2017-07-15 15:30:16 +02:00
parent 615238d0a4
commit 1a182df5d1

View File

@ -230,9 +230,6 @@ def read_template_file(file):
if comment_tmpl == "":
comment_tmpl = "/* \u0040comment\u0040 */"
if len(sys.argv) == 1:
usage()
parser = argparse.ArgumentParser(epilog=help_epilog,
formatter_class=argparse.RawDescriptionHelpFormatter)