mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 15:44:04 -06:00
CuraApplication: Getting argparser from Uranium
This commit is contained in:
parent
abc2cdb701
commit
8c74092f48
1 changed files with 1 additions and 1 deletions
|
@ -626,7 +626,7 @@ class CuraApplication(QtApplication):
|
||||||
@classmethod
|
@classmethod
|
||||||
def preStartUp(cls):
|
def preStartUp(cls):
|
||||||
# Peek the arguments and look for the 'single-instance' flag.
|
# 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)
|
CuraApplication.addCommandLineOptions(parser)
|
||||||
# Important: It is important to keep this line here!
|
# Important: It is important to keep this line here!
|
||||||
# In Uranium we allow to pass unknown arguments to the final executable or script.
|
# In Uranium we allow to pass unknown arguments to the final executable or script.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue