1
0
mirror of https://github.com/go-task/task.git synced 2025-06-23 00:38:19 +02:00

Prefix all output messages from task with "task: "

This makes it easier to know if a message comes from task or from a command
stdout or stderr
This commit is contained in:
Andrey Nering
2017-03-02 20:56:37 -03:00
parent a9b8e31228
commit 576b18246a
2 changed files with 6 additions and 6 deletions

View File

@ -53,7 +53,7 @@ func Run() {
args := pflag.Args()
if len(args) == 0 {
log.Fatal("No argument given")
log.Fatal("task: No argument given")
}
var err error
@ -88,7 +88,7 @@ func RunTask(name string) error {
}
if !Force && isTaskUpToDate(t) {
log.Printf(`Task "%s" is up to date`, name)
log.Printf(`task: Task "%s" is up to date`, name)
return nil
}