Add CHANGELOG, documentation and small improvements to #401

This commit is contained in:
Andrey Nering
2022-01-04 17:16:21 -03:00
parent 00a90d1fe6
commit 7e0346d6eb
5 changed files with 29 additions and 22 deletions

View File

@@ -80,7 +80,7 @@ func main() {
pflag.BoolVarP(&helpFlag, "help", "h", false, "shows Task usage")
pflag.BoolVarP(&init, "init", "i", false, "creates a new Taskfile.yaml in the current folder")
pflag.BoolVarP(&list, "list", "l", false, "lists tasks with description of current Taskfile")
pflag.BoolVarP(&listAll, "list-all", "a", false, "list tasks with or without a description")
pflag.BoolVarP(&listAll, "list-all", "a", false, "lists tasks with or without a description")
pflag.BoolVar(&status, "status", false, "exits with non-zero exit code if any of the given tasks is not up-to-date")
pflag.BoolVarP(&force, "force", "f", false, "forces execution even when the task is up-to-date")
pflag.BoolVarP(&watch, "watch", "w", false, "enables watch of the given task")
@@ -156,6 +156,7 @@ func main() {
if list {
e.ListTasksWithDesc()
return
}
if listAll {