From a09208e3433e4bcfa088d5bb55d0d387b14ed414 Mon Sep 17 00:00:00 2001 From: Kevin Lyda <kevin@lyda.ie> Date: Sun, 25 May 2025 14:07:41 +0100 Subject: [PATCH] Remove /EDIT flag for ADD --- repl/messages.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/repl/messages.go b/repl/messages.go index 83b387b..3bb4152 100644 --- a/repl/messages.go +++ b/repl/messages.go @@ -63,7 +63,6 @@ func ActionAdd(cmd *dclish.Command) error { optAll := 0 optBell := 0 optBroadcast := 0 - optEdit := 0 optExpiration := &time.Time{} optExtract := 0 optFolder := []string{} @@ -86,10 +85,6 @@ func ActionAdd(cmd *dclish.Command) error { optBroadcast = 1 fmt.Printf("TODO: optBroadcast is not yet implemented - you set it to %d\n", optBroadcast) } - if cmd.Flags["/EDIT"].Value == "true" { - optEdit = 1 - fmt.Printf("TODO: optEdit is not yet implemented - you set it to %d\n", optEdit) - } if cmd.Flags["/EXPIRATION"].Value != "" { // dd-mmm-yyyy, or delta time: dddd exp, err := time.Parse("2006-01-02", cmd.Flags["/EXPIRATION"].Value) -- GitLab