fix absent message error

This commit is contained in:
Jeremy Baxter 2024-06-05 10:54:03 +12:00
parent bfec14ce4d
commit ef2be37e23

2
mal.d
View file

@ -133,7 +133,7 @@ main(string[] args)
} }
enforceDie(message || messageFile, enforceDie(message || messageFile,
"email messsage has to be provided through -M or -m"); "a message has to be provided with -M or -m");
enforceDie(!(message && messageFile), enforceDie(!(message && messageFile),
"flags -M and -m cannot both be supplied in one invocation"); "flags -M and -m cannot both be supplied in one invocation");