From 2f4aebe8139faff0e6456676fd83bf5c0e4e3c4d Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Fri, 26 Sep 2014 13:03:59 -0500 Subject: edit move-comment scripts; search indexes private threads (shrug) --- bucky2/bin/move-file | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bucky2/bin/move-file') diff --git a/bucky2/bin/move-file b/bucky2/bin/move-file index 7c9e603..bd6dc48 100755 --- a/bucky2/bin/move-file +++ b/bucky2/bin/move-file @@ -4,15 +4,15 @@ use lib "../lib"; use Bucky; if (scalar(@ARGV) < 2) { - print "usage: move-file id thread\n"; + print "usage: move-file thread-id comment-id\n"; exit(1); } my $bucky = new Bucky; $bucky->db->update_by_id('file', { - "id" => $ARGV[0], + "id" => $ARGV[1], "record" => { - "thread" => $ARGV[1] + "thread" => $ARGV[0] } }); -- cgit v1.2.3-70-g09d2