summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <git@the-compiler.org>2017-06-28 22:41:08 +0200
committerFlorian Bruhin <git@the-compiler.org>2017-06-28 22:41:08 +0200
commitf136f78802db09a7de516f600f61699adb9c8b73 (patch)
treecf45147da0b5ddad814291612512f943589a330a
parenta98a6ac0c8eac0a6f55f0b7405bddbf8a8dfbd0e (diff)
downloadqutebrowser-f136f78802db09a7de516f600f61699adb9c8b73.tar.gz
qutebrowser-f136f78802db09a7de516f600f61699adb9c8b73.zip
Fix :undo documentation
See #2759
-rw-r--r--doc/help/commands.asciidoc4
-rw-r--r--qutebrowser/browser/commands.py2
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 `;;`.
|<<tab-pin,tab-pin>>|Pin/Unpin the current/[count]th tab.
|<<tab-prev,tab-prev>>|Switch to the previous tab, or switch [count] tabs back.
|<<unbind,unbind>>|Unbind a keychain.
-|<<undo,undo>>|Re-open a closed tab (optionally skipping [count] closed tabs).
+|<<undo,undo>>|Re-open a closed tab.
|<<view-source,view-source>>|Show the source of the current page in a new tab.
|<<window-only,window-only>>|Close all windows except for the current one.
|<<wq,wq>>|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: