--- a/eric6/eric6_browser.py Mon Apr 12 19:05:23 2021 +0200 +++ b/eric6/eric6_browser.py Mon Apr 12 19:21:40 2021 +0200 @@ -104,8 +104,11 @@ elif arg.startswith("--name="): name = arg.replace("--name=", "") argv.remove(arg) - elif arg.startswith("--newtab="): - # only used for single application client + elif ( + arg.startswith(("--newtab=", "--")) or + arg == "--quiet" + ): + # only needed until we reach this point argv.remove(arg) elif arg == "--private": private = True @@ -113,14 +116,9 @@ elif arg == "--qthelp": qthelp = True argv.remove(arg) - elif arg == "--quiet": - # only needed until we reach this point - argv.remove(arg) elif arg == "--single": single = True argv.remove(arg) - elif arg.startswith("--"): - argv.remove(arg) try: home = argv[1]