--- a/eric6/UI/UserInterface.py Mon Feb 01 13:25:37 2021 +0100 +++ b/eric6/UI/UserInterface.py Mon Feb 01 14:49:12 2021 +0100 @@ -1377,8 +1377,8 @@ '--' option are considered debug arguments to the program for the debugger. All files named before the '--' option are opened in a text editor, unless the argument ends in - .e4p, then it is opened as a project file. If it ends in - .e4m or .e5m, it is opened as a multiproject. + .epj or .e4p, then it is opened as a project file. If it + ends in .emj, .e4m or .e5m, it is opened as a multi project. """ # check and optionally read a crash session and ignore any arguments if self.__readCrashSession(): @@ -1438,10 +1438,10 @@ except IndexError: ext = "" - if ext in ['.e4p']: + if ext in ('.epj', '.e4p'): self.project.openProject(arg) opens += 1 - elif ext in ['.e4m', '.e5m']: + elif ext in ('.emj', '.e4m', '.e5m'): self.multiProject.openMultiProject(arg) opens += 1 else: