diff options
author | Florian Bruhin <git@the-compiler.org> | 2017-06-28 22:41:08 +0200 |
---|---|---|
committer | Florian Bruhin <git@the-compiler.org> | 2017-06-28 22:41:08 +0200 |
commit | f136f78802db09a7de516f600f61699adb9c8b73 (patch) | |
tree | cf45147da0b5ddad814291612512f943589a330a | |
parent | a98a6ac0c8eac0a6f55f0b7405bddbf8a8dfbd0e (diff) | |
download | qutebrowser-f136f78802db09a7de516f600f61699adb9c8b73.tar.gz qutebrowser-f136f78802db09a7de516f600f61699adb9c8b73.zip |
Fix :undo documentation
See #2759
-rw-r--r-- | doc/help/commands.asciidoc | 4 | ||||
-rw-r--r-- | 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 `;;`. |<<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: |