Use -p for :save-session --with-private
This commit is contained in:
parent
e13a5c0f17
commit
adb924a758
@ -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
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user