From: Dan Callaghan <dan@bl2.djc.id.au>
To: sup-commits@supmua.dev
Subject: [sup.git] 02/03: sup-add: fix error message when given an invalid source URI
Date: Sat, 21 Nov 2026 21:33:45 +1100 [thread overview]
Message-ID: <20261121103343.955A22D1176@bl2.djc.id.au> (raw)
In-Reply-To: <179525722340.246766.1234561026886177183@bl2.djc.id.au>
New commit on branch develop:
https://supmua.dev/git/sup/commit/776fd16c6bec7973bb7f378ed1dbae5ec227badb.html
commit 776fd16c6bec7973bb7f378ed1dbae5ec227badb
Author: Dan Callaghan <djc@djc.id.au>
AuthorDate: Sat Nov 21 11:00:11 2026 +1100
sup-add: fix error message when given an invalid source URI
---
bin/sup-add | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/sup-add b/bin/sup-add
index b7695e2f..04d119ce 100755
--- 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}..."
next prev parent reply other threads:[~2026-11-21 10:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-21 10:33 [sup.git] branch develop updated (ab44ffd7 -> 7a096b9a) Dan Callaghan
2026-11-21 10:33 ` [sup.git] 01/03: fix typo "filetypem" in search prefix completions Dan Callaghan
2026-11-21 10:33 ` Dan Callaghan [this message]
2026-11-21 10:33 ` [sup.git] 03/03: ncursesw: 1.4.14 → 1.4.15 Dan Callaghan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261121103343.955A22D1176@bl2.djc.id.au \
--to=dan@bl2.djc.id.au \
--cc=djc@djc.id.au \
--cc=sup-commits@supmua.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox