From 8208639c49e18a817478d05e1840d46c68e014cf Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Thu, 23 Jul 2026 11:17:12 +0300 Subject: [PATCH] mu-labels: fix comment --- lib/message/mu-labels.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/message/mu-labels.cc b/lib/message/mu-labels.cc index 02f08b74..fd56be28 100644 --- a/lib/message/mu-labels.cc +++ b/lib/message/mu-labels.cc @@ -37,9 +37,9 @@ Mu::Labels::validate_label(const std::string &label) const auto cstr{label.c_str()}; - // labels must be at least two characters and not start with a - // dash. these limitations are there to avoid confusion with - // command-line parameters. + // labels must not start with '+' or '-'; this limitation is + // there to avoid confusion with delta-labels / command-line + // parameters. if (cstr[0] == '-' || cstr[0] == '+') return Err(Error{Error::Code::InvalidArgument, "labels cannot start with '+' or '-' ({})", label});