feat: support lowercase Taskfiles (#1221)

This commit is contained in:
Pete Davison
2023-06-17 18:38:53 +01:00
committed by GitHub
parent d82b0faca1
commit 5e78171d3e
4 changed files with 15 additions and 4 deletions

View File

@@ -128,7 +128,7 @@ func run() error {
pflag.BoolVarP(&flags.color, "color", "c", true, "Colored output. Enabled by default. Set flag to false or use NO_COLOR=1 to disable.")
pflag.IntVarP(&flags.concurrency, "concurrency", "C", 0, "Limit number tasks to run concurrently.")
pflag.DurationVarP(&flags.interval, "interval", "I", 0, "Interval to watch for changes.")
pflag.BoolVarP(&flags.global, "global", "g", false, "Runs global Taskfile, from $HOME/Taskfile.{yml,yaml}.")
pflag.BoolVarP(&flags.global, "global", "g", false, "Runs global Taskfile, from $HOME/{T,t}askfile.{yml,yaml}.")
pflag.Parse()
if flags.version {