Skip to content
This repository was archived by the owner on Jul 20, 2025. It is now read-only.

Commit 554b9f8

Browse files
author
fosspill
authored
Dryrun: Add message to inform user about state (#38)
* Dryrun: Add message to inform user about state * Dryrun: Update message to match message style
1 parent b430e9f commit 554b9f8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cmd/partial.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ func partial(cmd *cobra.Command, args []string) {
4444
client := client.New(tok)
4545
client.SetDryRun(dryrun)
4646
client.SetSkipChannels(skipChannels)
47+
48+
if dryrun {
49+
log.Infof("No messages will be deleted in dry-run mode")
50+
}
4751

4852
if minAge > 0 {
4953
err = client.SetMinAge(minAge)

0 commit comments

Comments
 (0)