aboutsummaryrefslogtreecommitdiffstats
path: root/commands/msg/archive.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/msg/archive.go')
-rw-r--r--commands/msg/archive.go8
1 files changed, 7 insertions, 1 deletions
diff --git a/commands/msg/archive.go b/commands/msg/archive.go
index 5c97e2da..a46cc986 100644
--- a/commands/msg/archive.go
+++ b/commands/msg/archive.go
@@ -126,7 +126,13 @@ func archive(msgs []*models.MessageInfo, archiveType string) error {
wg.Wait()
if success {
- handleDone(acct, next, "Messages archived.", store)
+ var s string
+ if len(uids) > 1 {
+ s = "%d messages archived to %s"
+ } else {
+ s = "%d message archived to %s"
+ }
+ handleDone(acct, next, fmt.Sprintf(s, len(uids), archiveDir), store)
}
}()
return nil