From e8dec55ce82f1366c99b2976630e292a36d77721 Mon Sep 17 00:00:00 2001 From: Nate Meyer <672246+notnmeyer@users.noreply.github.com> Date: Wed, 28 Aug 2024 21:22:50 -0700 Subject: [PATCH] fix: look in parent dir for tasks.toml (#81) --- cmd/tsk/tsk.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/tsk/tsk.go b/cmd/tsk/tsk.go index 793e6c2..d7f5f9f 100644 --- a/cmd/tsk/tsk.go +++ b/cmd/tsk/tsk.go @@ -44,7 +44,7 @@ func main() { flag.BoolVarP(&opts.listTasks, "list", "l", false, "list tasks") flag.StringVarP(&opts.output, "output", "o", "text", fmt.Sprintf("output format (applies only to --list) (one of: %s, %s)", string(output.Text), string(output.Markdown))) flag.BoolVarP(&opts.pure, "pure", "", false, "don't inherit the parent env") - flag.StringVarP(&opts.taskFile, "file", "f", "tasks.toml", "taskfile to use") + flag.StringVarP(&opts.taskFile, "file", "f", "", "taskfile to use") flag.BoolVarP(&help, "help", "h", false, "") flag.Parse()