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:
parent
64b3980685
commit
9669aca7d9
@ -1026,11 +1026,6 @@ class CommandDispatcher:
|
|||||||
def spawn(self, cmdline, userscript=False, verbose=False, detach=False):
|
def spawn(self, cmdline, userscript=False, verbose=False, detach=False):
|
||||||
"""Spawn a command in a shell.
|
"""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:
|
Args:
|
||||||
userscript: Run the command as a userscript. You can use an
|
userscript: Run the command as a userscript. You can use an
|
||||||
absolute path, or store the userscript in one of those
|
absolute path, or store the userscript in one of those
|
||||||
|
@ -95,9 +95,6 @@ class Command(misc.MinimalLineEditMixin, misc.CommandLineEdit):
|
|||||||
def set_cmd_text_command(self, text, space=False, append=False):
|
def set_cmd_text_command(self, text, space=False, append=False):
|
||||||
"""Preset the statusbar to some text.
|
"""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
|
Wrapper for set_cmd_text to check the arguments and allow multiple
|
||||||
|
Loading…
Reference in New Issue
Block a user