From f05c8e41edb50f95cbec6f9cf58080c627a93879 Mon Sep 17 00:00:00 2001 From: Diego Escalante Urrelo Date: Mon, 22 Mar 2021 09:47:36 -0500 Subject: [PATCH] cmd: Fix help text indentation, punctuation, repeated lines --- cmd/archive.go | 4 ---- cmd/edit.go | 2 +- cmd/list.go | 4 ++-- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/cmd/archive.go b/cmd/archive.go index a801dc02..feac2cee 100644 --- a/cmd/archive.go +++ b/cmd/archive.go @@ -26,10 +26,6 @@ func init() { ultralist archive gc ultralist ar gc - ultralist archive gc - ultralist ar gc - Run garbage collection. Delete all archived todos and reclaim ids - See the full docs here: https://ultralist.io/docs/cli/managing_tasks` ) diff --git a/cmd/edit.go b/cmd/edit.go index bccd3413..242f53cb 100644 --- a/cmd/edit.go +++ b/cmd/edit.go @@ -30,7 +30,7 @@ func init() { To edit a status ultralist edit 33 status:next - To remove a status: + To remove a status: ultralist edit 33 status:none` ) diff --git a/cmd/list.go b/cmd/list.go index c5b58c59..c2a8053f 100644 --- a/cmd/list.go +++ b/cmd/list.go @@ -104,7 +104,7 @@ func init() { ultralist list group:p List all todos grouped by status: - ultralist list group:s + ultralist list group:s Combining filters: ------------------ @@ -153,6 +153,6 @@ See the full docs at https://ultralist.io/docs/cli/showing_tasks` rootCmd.AddCommand(listCmd) listCmd.Flags().BoolVarP(&unicodeSupport, "unicode", "", true, "Allows unicode support in Ultralist output") listCmd.Flags().BoolVarP(&colorSupport, "color", "", true, "Allows color in Ultralist output") - listCmd.Flags().BoolVarP(&listNotes, "notes", "", false, "Show a todo's notes when listing. ") + listCmd.Flags().BoolVarP(&listNotes, "notes", "", false, "Show a todo's notes when listing") listCmd.Flags().BoolVarP(&showStatus, "status", "", false, "Show a todo's status") }