mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 19:06:15 +01:00
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:
parent
615238d0a4
commit
1a182df5d1
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user