Add docstring for :quickmark-load.

This commit is contained in:
Florian Bruhin 2014-09-07 21:03:20 +02:00
parent 9f23e9aa36
commit 4cf7e6e767

View File

@ -620,7 +620,13 @@ class CommandDispatcher:
@cmdutils.register(instance='mainwindow.tabs.cmd')
def quickmark_load(self, name, tab=False, bg=False):
"""Load a quickmark."""
"""Load a quickmark.
Args:
name: The name of the quickmark to load.
tab: Whether to load the quickmark in a new tab.
bg: Whether to load the quickmark in the background.
"""
urlstr = quickmarks.get(name)
url = QUrl(urlstr)
if not url.isValid():