From 378e4f1bdd951b25b8233dfd4863538d46eac94f Mon Sep 17 00:00:00 2001 From: Lucas Hoffmann Date: Sat, 4 Feb 2017 22:29:45 +0100 Subject: [PATCH] docs: Clarify behaviour of `view-source` --- doc/help/commands.asciidoc | 2 +- qutebrowser/browser/commands.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/help/commands.asciidoc b/doc/help/commands.asciidoc index 3f656dc49..856b95a2b 100644 --- a/doc/help/commands.asciidoc +++ b/doc/help/commands.asciidoc @@ -84,7 +84,7 @@ It is possible to run or bind multiple commands by separating them with `;;`. |<>|Switch to the previous tab, or switch [count] tabs back. |<>|Unbind a keychain. |<>|Re-open a closed tab (optionally skipping [count] closed tabs). -|<>|Show the source of the current page. +|<>|Show the source of the current page in a new tab. |<>|Close all windows except for the current one. |<>|Save open pages and quit. |<>|Yank something to the clipboard or primary selection. diff --git a/qutebrowser/browser/commands.py b/qutebrowser/browser/commands.py index adcd2e9e2..38c186447 100644 --- a/qutebrowser/browser/commands.py +++ b/qutebrowser/browser/commands.py @@ -1349,7 +1349,7 @@ class CommandDispatcher: @cmdutils.register(instance='command-dispatcher', scope='window') def view_source(self): - """Show the source of the current page.""" + """Show the source of the current page in a new tab.""" # pylint: disable=no-member # WORKAROUND for https://bitbucket.org/logilab/pylint/issue/491/ tab = self._current_widget()