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