mirror of
https://github.com/go-task/task.git
synced 2025-11-23 22:24:45 +02:00
print logs to stderr instead of stdout
also, don't print up-to-date status when the --silent flag was given closes #68
This commit is contained in:
2
help.go
2
help.go
@@ -12,7 +12,7 @@ func (e *Executor) PrintTasksHelp() {
|
||||
if len(tasks) == 0 {
|
||||
return
|
||||
}
|
||||
e.println("Available tasks for this project:")
|
||||
e.outf("Available tasks for this project:")
|
||||
|
||||
// Format in tab-separated columns with a tab stop of 8.
|
||||
w := tabwriter.NewWriter(e.Stdout, 0, 8, 0, '\t', 0)
|
||||
|
||||
Reference in New Issue
Block a user