UI/UserInterface.py

changeset 2930
92973b701875
parent 2807
73c38615aced
child 2933
ada56f070ef4
equal deleted inserted replaced
2929:28ab0bc63d69 2930:92973b701875
1004 else: 1004 else:
1005 argChars = ['-'] 1005 argChars = ['-']
1006 1006
1007 for arg in args: 1007 for arg in args:
1008 # handle a request to start with last session 1008 # handle a request to start with last session
1009 if arg == '--start-session': 1009 if arg == '--start-file':
1010 self.__openOnStartup("File")
1011 # ignore all further arguments
1012 return
1013 elif arg == '--start-multi':
1014 self.__openOnStartup("MultiProject")
1015 # ignore all further arguments
1016 return
1017 elif arg == '--start-project':
1018 self.__openOnStartup("Project")
1019 # ignore all further arguments
1020 return
1021 elif arg == '--start-session':
1010 self.__openOnStartup("Session") 1022 self.__openOnStartup("Session")
1011 # ignore all further arguments 1023 # ignore all further arguments
1012 return 1024 return
1013 1025
1014 if arg == '--' and not ddseen: 1026 if arg == '--' and not ddseen:

eric ide

mercurial