Improve/regenerate docs

This commit is contained in:
Florian Bruhin 2018-02-11 11:17:37 +01:00
parent 9c4564fd70
commit e10940100d
2 changed files with 9 additions and 1 deletions

View File

@ -1241,6 +1241,9 @@ If no win_id is given, the tab will get detached into a new window.
==== positional arguments
* +'win-id'+: The window ID of the window to give the current tab to.
==== count
Overrides win_id (index starts at 1 for win_id=0).
[[tab-move]]
=== tab-move
Syntax: +:tab-move ['index']+
@ -1322,8 +1325,13 @@ Re-open the last closed tab or tabs.
[[version]]
=== version
Syntax: +:version [*--paste*]+
Show version information.
==== optional arguments
* +*-p*+, +*--paste*+: Paste to pastebin.
[[view-source]]
=== view-source
Syntax: +:view-source [*--edit*]+

View File

@ -541,7 +541,7 @@ class CommandDispatcher:
Args:
win_id: The window ID of the window to give the current tab to.
count: [count] overrides win_id (index starts at 1 for win_id=0)
count: Overrides win_id (index starts at 1 for win_id=0).
"""
if count is not None:
win_id = count - 1