From 72600b4eaa8e80179e35efaddc12e7f54b47d2f5 Mon Sep 17 00:00:00 2001 From: Daniel Byron <=> Date: Mon, 20 Jul 2015 01:08:51 +1000 Subject: Fixed error in help output --- main.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index a0674ec..3697a63 100644 --- a/main.go +++ b/main.go @@ -45,13 +45,14 @@ func inputs_outputs() { if f.output != nil { outSupport += strings.Join([]string{" ", f.friendlyName, ":", f.flagName, "\n"}, " ") } - // Special case for img output - outSupport += " Image output : img\n" if f.input != nil { inSupport += strings.Join([]string{" ", f.friendlyName, ":", f.flagName, "\n"}, " ") } } + // Special case for img output + outSupport += " Image output : img\n" + fmt.Print(inSupport, outSupport) } -- cgit v1.2.3