Print usage without logging info (e.g. timestamp)
1 files changed, 1 insertions(+), 1 deletions(-) M main.go
M main.go => main.go +1 -1
@@ 53,6 53,6 @@ func main() { // exitWithUsage prints the usage text with a prefix and exits with the given // code. func exitWithUsage(prefix string, code int) { log.Printf("%sUSAGE: %s (-f <file> | -c <command>) ...\n", prefix, os.Args[0]) fmt.Fprintf(os.Stderr, "%sUSAGE: %s (-f <file> | -c <command>) ...\n", prefix, os.Args[0]) os.Exit(code) }