The command syntax has changed

This is not markam. Markam would try to figure out that you wanted to
add a url to the database by looking for either `http://' or
`https://' at the start of the first argument, but CLark uses the
`add' command so there should be no confusion.
This commit is contained in:
Tom Willemsen 2013-03-24 12:49:43 +01:00
parent 13d9dab58e
commit ea6b06beec

View file

@ -49,7 +49,7 @@ function clark_add_url(I, url, title)
let tags = yield I.minibuffer.read(
$prompt="tags (comma delimited): "
);
let command = clark_program + ' "' + url_string + '" "' + title
let command = clark_program + ' add "' + url_string + '" "' + title
+ '" "' + description + '" \''
+ tags.split(',').map(function (str)
{ return str.trim(); }).join("' '")