From 86102a488570b52f2a6c7b3570adeabc2dddebb2 Mon Sep 17 00:00:00 2001 From: Thomas Chopitea Date: Sat, 10 Aug 2019 15:51:22 +0200 Subject: [PATCH] Println instead of Printf --- unxor.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/unxor.go b/unxor.go index 5407dd9..d5fe1f8 100644 --- a/unxor.go +++ b/unxor.go @@ -16,17 +16,17 @@ func parseArgs() (*string, *string, *string) { flag.Parse() if *fn == "" { - fmt.Printf("You must specify a filename with the -f flag.") + fmt.Println("You must specify a filename with the -f flag.") os.Exit(-1) } if *g != "" && *gh != "" { - fmt.Printf("-gh and -h are mutually exclusive.") + fmt.Println("-gh and -h are mutually exclusive.") os.Exit(-1) } if *g == "" && *gh == "" { - fmt.Printf("You must specify either -gh or -g.") + fmt.Println("You must specify either -gh or -g.") os.Exit(-1) }