From 8c74092f48d3b9322dbca3b9abf1c7bdbaf816a2 Mon Sep 17 00:00:00 2001 From: Thomas Karl Pietrowski Date: Fri, 8 Dec 2017 20:18:38 +0100 Subject: [PATCH] CuraApplication: Getting argparser from Uranium --- cura/CuraApplication.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cura/CuraApplication.py b/cura/CuraApplication.py index 1c610eebb6..f897c19f0b 100755 --- a/cura/CuraApplication.py +++ b/cura/CuraApplication.py @@ -626,7 +626,7 @@ class CuraApplication(QtApplication): @classmethod def preStartUp(cls): # Peek the arguments and look for the 'single-instance' flag. - parser = argparse.ArgumentParser(prog="cura") # pylint: disable=bad-whitespace + parser = cls.getCommandlineParser() CuraApplication.addCommandLineOptions(parser) # Important: It is important to keep this line here! # In Uranium we allow to pass unknown arguments to the final executable or script.