Update docs

This commit is contained in:
Florian Bruhin 2016-07-26 08:36:16 +02:00
parent dab17b801e
commit da64db853e
4 changed files with 12 additions and 6 deletions

View File

@ -44,6 +44,8 @@ Changed
rather than the current page. rather than the current page.
- New `taskadd` userscript to add a taskwarrior task annotated with the - New `taskadd` userscript to add a taskwarrior task annotated with the
current URL. current URL.
- `:bookmark-del` and `:quickmark-del` now delete the current page's URL if none
is given.
Fixed Fixed
----- -----

View File

@ -165,6 +165,7 @@ Contributors, sorted by the number of commits in descending order:
* Kevin Velghe * Kevin Velghe
* Austin Anderson * Austin Anderson
* Jimmy * Jimmy
* Marshall Lochbaum
* Alexey "Averrin" Nabrodov * Alexey "Averrin" Nabrodov
* avk * avk
* ZDarian * ZDarian

View File

@ -128,12 +128,13 @@ If no url and title are provided, then save the current page as a bookmark. If a
[[bookmark-del]] [[bookmark-del]]
=== bookmark-del === bookmark-del
Syntax: +:bookmark-del 'url'+ Syntax: +:bookmark-del ['url']+
Delete a bookmark. Delete a bookmark.
==== positional arguments ==== positional arguments
* +'url'+: The URL of the bookmark to delete. * +'url'+: The url of the bookmark to delete. If not given, use the current page's url.
==== note ==== note
* This command does not split arguments after the last argument and handles quotes literally. * This command does not split arguments after the last argument and handles quotes literally.
@ -520,12 +521,14 @@ You can view all saved quickmarks on the link:qute://bookmarks[bookmarks page].
[[quickmark-del]] [[quickmark-del]]
=== quickmark-del === quickmark-del
Syntax: +:quickmark-del 'name'+ Syntax: +:quickmark-del ['name']+
Delete a quickmark. Delete a quickmark.
==== positional arguments ==== positional arguments
* +'name'+: The name of the quickmark to delete. * +'name'+: The name of the quickmark to delete. If not given, delete the quickmark for the current page (choosing one arbitrarily
if there are more than one).
==== note ==== note
* This command does not split arguments after the last argument and handles quotes literally. * This command does not split arguments after the last argument and handles quotes literally.

View File

@ -1103,7 +1103,7 @@ class CommandDispatcher:
"""Delete a quickmark. """Delete a quickmark.
Args: Args:
name: The name of the quickmark to delete. If none, delete the name: The name of the quickmark to delete. If not given, delete the
quickmark for the current page (choosing one arbitrarily quickmark for the current page (choosing one arbitrarily
if there are more than one). if there are more than one).
""" """
@ -1181,7 +1181,7 @@ class CommandDispatcher:
"""Delete a bookmark. """Delete a bookmark.
Args: Args:
url: The url of the bookmark to delete. If None, use the url: The url of the bookmark to delete. If not given, use the
current page's url. current page's url.
""" """
if url is None: if url is None: