Tell early parser not to add help

This commit is contained in:
Thomas Karl Pietrowski 2017-12-09 22:26:52 +01:00
parent 8e89c1b361
commit bcc31fb19b

View File

@ -9,7 +9,8 @@ import sys
from UM.Platform import Platform
parser = argparse.ArgumentParser(prog = "cura")
parser = argparse.ArgumentParser(prog = "cura",
add_help = False)
parser.add_argument('--debug',
action='store_true',
default = False,