diff --git a/cmd/entries.go b/cmd/entries.go index a3949cb..f63e643 100644 --- a/cmd/entries.go +++ b/cmd/entries.go @@ -49,7 +49,7 @@ func init() { entriesCreateCommand.Flags().StringVarP(&createServiceId, "serviceid", "s", "", "service id for time entry (HINT: use the 'service' sub-command to find the id)") entriesCommand.AddCommand(entriesCreateCommand) // edit - entriesEditCommand.Flags().StringVarP(&editDate, "date", "D", today.String(), "day for which to edit entry (in YYYY-MM-DD format)") + entriesEditCommand.Flags().StringVarP(&editDate, "date", "D", "", "day for which to edit entry (in YYYY-MM-DD format)") entriesEditCommand.Flags().StringVarP(&editDuration, "duration", "d", "", "duration of entry (format examples: '1h15m' or '300m' or '6h')") entriesEditCommand.Flags().StringVarP(&editNote, "note", "n", "", "a note describing what was worked on") entriesEditCommand.Flags().StringVarP(&editTimeEntryId, "id", "i", "", "the time entry id to edit")