From 5ceecc2b045c40f0ce2f0fcfd7c37409b73ac64a Mon Sep 17 00:00:00 2001 From: George Edward Bulmer Date: Tue, 6 Feb 2018 18:53:45 +0000 Subject: [PATCH] Add docstring for new argument --- qutebrowser/browser/commands.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/qutebrowser/browser/commands.py b/qutebrowser/browser/commands.py index 3063c8cda..460467848 100644 --- a/qutebrowser/browser/commands.py +++ b/qutebrowser/browser/commands.py @@ -1506,7 +1506,10 @@ class CommandDispatcher: @cmdutils.register(instance='command-dispatcher', scope='window') def view_source(self, edit=False): - """Show the source of the current page in a new tab.""" + """Show the source of the current page in a new tab. + + Args: + edit: Open source in editor instead of tab.""" tab = self._current_widget() try: current_url = self._current_url()