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:
parent
418f7c9d2a
commit
98ff909164
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ function clark_add_url(I, url, title)
|
||||||
let tags = yield I.minibuffer.read(
|
let tags = yield I.minibuffer.read(
|
||||||
$prompt="tags (comma delimited): "
|
$prompt="tags (comma delimited): "
|
||||||
);
|
);
|
||||||
let command = clark_program + ' "' + url_string + '" "' + title
|
let command = clark_program + ' add "' + url_string + '" "' + title
|
||||||
+ '" "' + description + '" \''
|
+ '" "' + description + '" \''
|
||||||
+ tags.split(',').map(function (str)
|
+ tags.split(',').map(function (str)
|
||||||
{ return str.trim(); }).join("' '")
|
{ return str.trim(); }).join("' '")
|
||||||
|
|
Loading…
Reference in a new issue