diff --git a/doc/help/commands.asciidoc b/doc/help/commands.asciidoc index 5668e9df6..3537a4a43 100644 --- a/doc/help/commands.asciidoc +++ b/doc/help/commands.asciidoc @@ -759,7 +759,7 @@ Save a session. * +*-q*+, +*--quiet*+: Don't show confirmation message. * +*-f*+, +*--force*+: Force saving internal sessions (starting with an underline). * +*-o*+, +*--only-active-window*+: Saves only tabs of the currently active window. -* +*-w*+, +*--with-private*+: Include private windows. +* +*-p*+, +*--with-private*+: Include private windows. [[set]] === set diff --git a/qutebrowser/misc/sessions.py b/qutebrowser/misc/sessions.py index d0d71f87d..066bc1576 100644 --- a/qutebrowser/misc/sessions.py +++ b/qutebrowser/misc/sessions.py @@ -451,6 +451,7 @@ class SessionManager(QObject): @cmdutils.register(name=['session-save', 'w'], instance='session-manager') @cmdutils.argument('name', completion=usertypes.Completion.sessions) @cmdutils.argument('win_id', win_id=True) + @cmdutils.argument('with_private', flag='p') def session_save(self, name: str = default, current=False, quiet=False, force=False, only_active_window=False, with_private=False, win_id=None):