sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit 776fd16c6bec7973bb7f378ed1dbae5ec227badb
parent 6207614f722aabde2b0ea20aaa3e095d74bc554e
Author: Dan Callaghan <djc@djc.id.au>
Date:   Sat, 21 Nov 2026 11:00:11 +1100

sup-add: fix error message when given an invalid source URI

Diffstat:
M bin/sup-add | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/sup-add b/bin/sup-add
@@ -100,7 +100,7 @@ begin
         Redwood::Maildir.new uri, !$opts[:unusual], $opts[:archive], $opts[:sync_back], nil, labels
       when /^mbox:/
         Redwood::MBox.new uri, !$opts[:unusual], $opts[:archive], nil, labels
-      when nil
+      else
         Optimist::die "Sources must be specified with a maildir:// or mbox:// URI"
       end
     @cli.say "Adding #{source}..."