From f136f78802db09a7de516f600f61699adb9c8b73 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 28 Jun 2017 22:41:08 +0200 Subject: [PATCH] Fix :undo documentation See #2759 --- doc/help/commands.asciidoc | 4 ++-- qutebrowser/browser/commands.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/help/commands.asciidoc b/doc/help/commands.asciidoc index c3ff94d35..05bf3ad93 100644 --- a/doc/help/commands.asciidoc +++ b/doc/help/commands.asciidoc @@ -85,7 +85,7 @@ It is possible to run or bind multiple commands by separating them with `;;`. |<>|Pin/Unpin the current/[count]th tab. |<>|Switch to the previous tab, or switch [count] tabs back. |<>|Unbind a keychain. -|<>|Re-open a closed tab (optionally skipping [count] closed tabs). +|<>|Re-open a closed tab. |<>|Show the source of the current page in a new tab. |<>|Close all windows except for the current one. |<>|Save open pages and quit. @@ -936,7 +936,7 @@ Unbind a keychain. [[undo]] === undo -Re-open a closed tab (optionally skipping [count] closed tabs). +Re-open a closed tab. [[view-source]] === view-source diff --git a/qutebrowser/browser/commands.py b/qutebrowser/browser/commands.py index e0b89c693..3d8516fe2 100644 --- a/qutebrowser/browser/commands.py +++ b/qutebrowser/browser/commands.py @@ -932,7 +932,7 @@ class CommandDispatcher: @cmdutils.register(instance='command-dispatcher', scope='window') def undo(self): - """Re-open a closed tab (optionally skipping [count] closed tabs).""" + """Re-open a closed tab.""" try: self._tabbed_browser.undo() except IndexError: