1
0
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:
Andrey Nering
2017-09-30 14:56:35 -03:00
parent 14676dc3f8
commit abb19dfbf8
5 changed files with 29 additions and 21 deletions

View File

@@ -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)