mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 15:13:56 -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
|
||||
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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue