Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd: Fix indentation and repeated lines #250

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions cmd/archive.go
Original file line number Diff line number Diff line change
Expand Up @@ -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`
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/edit.go
Original file line number Diff line number Diff line change
Expand Up @@ -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`
)

Expand Down
4 changes: 2 additions & 2 deletions cmd/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
------------------
Expand Down Expand Up @@ -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")
}