From 308953d67001f7d2b834c28d41d00c28f28086d3 Mon Sep 17 00:00:00 2001 From: Nicolas Pouillard Date: Fri, 14 Nov 2008 13:29:25 +0100 Subject: [PATCH] Add a --query option to sup-tweak-labels. --- bin/sup-tweak-labels | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/sup-tweak-labels b/bin/sup-tweak-labels index 21e766c..4d1313e 100644 --- a/bin/sup-tweak-labels +++ b/bin/sup-tweak-labels @@ -39,6 +39,7 @@ Options: EOS opt :add, "One or more labels (comma-separated) to add to every message from the specified sources", :type => String opt :remove, "One or more labels (comma-separated) to remove from every message from the specified sources, if those labels are present", :type => String + opt :query, "A Sup search query", :type => String text < qobj) results = index.ferret.search query, :limit => :all num_total = results.total_hits -- 2.45.2