diff --git a/man/mu-label.1.org b/man/mu-label.1.org index 9c3cdcba..acdaff8d 100644 --- a/man/mu-label.1.org +++ b/man/mu-label.1.org @@ -59,8 +59,8 @@ using from a shell. * CLEAR OPTIONS The *clear* command removes all labels from messages that match some query. As -with *update*, the must be recognized as a single parameter, i.e., quote it when -using from a shell. +with *update*, the query must be recognized as a single parameter, i.e., quote it +when using a shell. ** --dry-run diff --git a/mu/mu-cmd-label.cc b/mu/mu-cmd-label.cc index 0b7e3bc1..f0df1d1a 100644 --- a/mu/mu-cmd-label.cc +++ b/mu/mu-cmd-label.cc @@ -118,7 +118,10 @@ label_list(const Mu::Store& store, const Options& opts) const auto label_map{store.label_map()}; for (const auto& [label, n]: label_map) - mu_println("{}: {}", label, n); + if (opts.verbose) + mu_println("{}: {}", label, n); + else + mu_println("{}", label); return Ok(); }