~jcc/addr-book-combine

c3f3c7022837c7a93c0f6034c56ee0c73e7b76ba — Jason Cox 5 months ago ba715e9
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)
}