Fix vet issue

This commit is contained in:
Alex Dadgar 2017-07-26 14:53:08 -07:00
parent 0f92cf9058
commit 67111d46d6
1 changed files with 1 additions and 3 deletions

View File

@ -3,7 +3,6 @@ package main
import (
"bytes"
"fmt"
"log"
"os"
"sort"
"strings"
@ -91,8 +90,7 @@ func helpFunc(commands map[string]cli.CommandFactory) string {
command, err := commandFunc()
if err != nil {
log.Printf("[ERR] cli: Command '%s' failed to load: %s",
key, err)
fmt.Fprintf(os.Stderr, "[ERR] cli: Command '%s' failed to load: %s", key, err)
continue
}