From 98ff90916417201a6c8d2108374556c9a73f05db Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Sun, 24 Mar 2013 12:49:43 +0100 Subject: 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. --- js/clark.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/clark.js b/js/clark.js index c256904..7bc30f5 100644 --- a/js/clark.js +++ b/js/clark.js @@ -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("' '") -- cgit v1.2.3-54-g00ecf