From e10940100d0e6e819f4d17cdf1bb46977d758da0 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sun, 11 Feb 2018 11:17:37 +0100 Subject: [PATCH] Improve/regenerate docs --- doc/help/commands.asciidoc | 8 ++++++++ qutebrowser/browser/commands.py | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/doc/help/commands.asciidoc b/doc/help/commands.asciidoc index 5fb2c9e6e..c5f013491 100644 --- a/doc/help/commands.asciidoc +++ b/doc/help/commands.asciidoc @@ -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*]+ diff --git a/qutebrowser/browser/commands.py b/qutebrowser/browser/commands.py index 8fd3426c0..85f59bb00 100644 --- a/qutebrowser/browser/commands.py +++ b/qutebrowser/browser/commands.py @@ -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