1
0
Fork 0
mirror of https://git.sr.ht/~rjarry/aerc synced 2025-02-22 14:53:57 +01:00
aerc/worker/mbox
Syed Fasiuddin d13361b8db mbox: handle invalid URL scheme in command line
Currently if `aerc mbox:..` is used on the command line with an invalid
URL schema such as `aerc mbox:~/mbox`, it tries to open "nothing" and
fails, instead of letting the user know that the URL scheme (command
usage) is wrong.

This commit silently handles such wrong URL schemes.

Fixes: https://todo.sr.ht/~rjarry/aerc/281
Signed-off-by: Syed Fasiuddin <syed.fasiuddin@icloud.com>
Acked-by: Tim Culverhouse <tim@timculverhouse.com>
Tested-by: Koni Marti <koni.marti@gmail.com>
2024-10-16 19:49:14 -05:00
..
create.go lint: apply new formatting rules 2022-08-01 10:44:52 +02:00
io.go treewide: replace uint32 uids with opaque strings 2024-08-28 12:06:01 +02:00
models.go treewide: replace uint32 uids with opaque strings 2024-08-28 12:06:01 +02:00
worker.go mbox: handle invalid URL scheme in command line 2024-10-16 19:49:14 -05:00