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.
This commit is contained in:
Jakub Klinkovský 2016-08-23 21:05:15 +02:00
parent 64b3980685
commit 9669aca7d9
2 changed files with 0 additions and 8 deletions

View File

@ -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

View File

@ -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