session-save: doc generated from docstring.

This commit is contained in:
Daniel Fiser 2017-02-22 09:59:29 +01:00
parent c092840c04
commit bb74b2703f
3 changed files with 4 additions and 1 deletions

View File

@ -275,6 +275,7 @@ Contributors, sorted by the number of commits in descending order:
* Dietrich Daroch * Dietrich Daroch
* Derek Sivers * Derek Sivers
* Daniel Lu * Daniel Lu
* Daniel Fiser
* Arseniy Seroka * Arseniy Seroka
* Andy Balaam * Andy Balaam
* Andreas Fischer * Andreas Fischer

View File

@ -723,7 +723,8 @@ Load a session.
[[session-save]] [[session-save]]
=== session-save === session-save
Syntax: +:session-save [*--current*] [*--quiet*] [*--force*] [*--only-active-window*] ['name']+ Syntax: +:session-save [*--current*] [*--quiet*] [*--force*] [*--only-active-window*]
['name']+
Save a session. Save a session.

View File

@ -436,6 +436,7 @@ class SessionManager(QObject):
current: Save the current session instead of the default. current: Save the current session instead of the default.
quiet: Don't show confirmation message. quiet: Don't show confirmation message.
force: Force saving internal sessions (starting with an underline). force: Force saving internal sessions (starting with an underline).
only_active_window: Saves only tabs of the currently active window.
""" """
if (name is not default and if (name is not default and
name.startswith('_') and # pylint: disable=no-member name.startswith('_') and # pylint: disable=no-member