sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit cbebd16624c1dd8e26c66215d3db851fd4b3353f
parent 22435ad59893516bb711e17146c2cfe754beca72
Author: Anthony Martinez <pi+sup@pihost.us>
Date:   Tue,  5 Jan 2010 10:20:24 -0700

fix up options for sup-sync-back, tweak-labels

These two violate the convention of the other scripts inside bin/ by
using a local variable for their Trollop results.

Diffstat:
M bin/sup-sync-back | 2 +-
M bin/sup-tweak-labels | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/sup-sync-back b/bin/sup-sync-back
@@ -66,7 +66,7 @@ EOS
 end
 
 Redwood::start
-index = Redwood::Index.init $opts[:index]
+index = Redwood::Index.init opts[:index]
 index.lock_interactively or exit
 
 deleted_fp, spam_fp = nil
diff --git a/bin/sup-tweak-labels b/bin/sup-tweak-labels
@@ -61,7 +61,7 @@ remove_labels = opts[:remove].to_set_of_symbols ","
 Trollop::die "nothing to do: no labels to add or remove" if add_labels.empty? && remove_labels.empty?
 
 Redwood::start
-index = Redwood::Index.init $opts[:index]
+index = Redwood::Index.init opts[:index]
 index.lock_interactively or exit
 begin
   index.load