From 9669aca7d99dc46144c775efdea9453a24d39d9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Klinkovsk=C3=BD?= Date: Tue, 23 Aug 2016 21:05:15 +0200 Subject: [PATCH] remove random description of variables in commands' docstrings Full description is given at the top of qute://help/commands.html, duplicating this for some commands where it might be useful is unmaintainable. --- qutebrowser/browser/commands.py | 5 ----- qutebrowser/mainwindow/statusbar/command.py | 3 --- 2 files changed, 8 deletions(-) diff --git a/qutebrowser/browser/commands.py b/qutebrowser/browser/commands.py index 6ced51110..e6b098eb4 100644 --- a/qutebrowser/browser/commands.py +++ b/qutebrowser/browser/commands.py @@ -1026,11 +1026,6 @@ class CommandDispatcher: def spawn(self, cmdline, userscript=False, verbose=False, detach=False): """Spawn a command in a shell. - Note the `{url}` and `{url:pretty}` variables might be useful here. - `{url}` gets replaced by the URL in fully encoded format and - `{url:pretty}` uses a "pretty form" with most percent-encoded - characters decoded. - Args: userscript: Run the command as a userscript. You can use an absolute path, or store the userscript in one of those diff --git a/qutebrowser/mainwindow/statusbar/command.py b/qutebrowser/mainwindow/statusbar/command.py index df419c0dd..79a5f0305 100644 --- a/qutebrowser/mainwindow/statusbar/command.py +++ b/qutebrowser/mainwindow/statusbar/command.py @@ -95,9 +95,6 @@ class Command(misc.MinimalLineEditMixin, misc.CommandLineEdit): def set_cmd_text_command(self, text, space=False, append=False): """Preset the statusbar to some text. - You can use the `{url}` and `{url:pretty}` variables here which will - get replaced by the encoded/decoded URL. - // Wrapper for set_cmd_text to check the arguments and allow multiple