diff --git a/parser/parser.go b/parser/parser.go index 1a37183..44f0666 100644 --- a/parser/parser.go +++ b/parser/parser.go @@ -28,7 +28,11 @@ func (m QEntry) ShortString() string { } func (m QEntry) String() string { - return fmt.Sprintf("[%s] %s <%s> -> %d recipients (%s, %d bytes)", m.date.Format(sortableDateFormat), m.id, m.sender, len(m.recipients), m.status, m.size) + var recipientSuffix string + if len(m.recipients) > 1 { + recipientSuffix = ",..." + } + return fmt.Sprintf("[%s] %s <%s> -> {%d}<%s>%s (%s, %d bytes)", m.date.Format(sortableDateFormat), m.id, m.sender, len(m.recipients), m.recipients[0], recipientSuffix, m.status, m.size) } func (m QEntry) DetailedString() string {