--- a/eric6_browser.py Fri Feb 05 20:02:09 2016 +0100 +++ b/eric6_browser.py Sat Feb 06 17:43:59 2016 +0100 @@ -76,10 +76,14 @@ from WebBrowser.WebBrowserWindow import WebBrowserWindow searchWord = None + private = False for arg in reversed(argv): if arg.startswith("--search="): searchWord = argv[1].split("=", 1)[1] argv.remove(arg) + elif arg == "--private": + private = True + argv.remove(arg) elif arg.startswith("--"): argv.remove(arg) @@ -89,7 +93,7 @@ home = "" browser = WebBrowserWindow(home, '.', None, 'web_browser', - searchWord=searchWord) + searchWord=searchWord, private=private) return browser @@ -100,6 +104,7 @@ options = [ ("--config=configDir", "use the given directory as the one containing the config files"), + ("--private", "start the browser in private browsing mode"), ("--search=word", "search for the given word"), ("--settings=settingsDir", "use the given directory to store the settings files"),