From dd24764a32328391f66228969fb2652591134553 Mon Sep 17 00:00:00 2001 From: Patrick Maloney Date: Thu, 25 Jan 2024 11:46:52 +0100 Subject: [PATCH] add activity flag to restart command --- cmd/activities.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/activities.go b/cmd/activities.go index 5d45d12..a0ca882 100644 --- a/cmd/activities.go +++ b/cmd/activities.go @@ -181,6 +181,8 @@ func init() { createCmd.Flags().StringP("description", "d", "", "Set the description for the activity") createCmd.Flags().IntP("minutes", "m", 0, "Set the number of minutes for the activity") + restartCmd.Flags().IntP("activity", "a", 0, "Set the activity to restart") + activitiesCmd.AddCommand(editCmd) activitiesCmd.AddCommand(createCmd) activitiesCmd.AddCommand(deleteCmd)