aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Byron <=>2015-07-20 01:08:51 +1000
committerDaniel Byron <=>2015-07-20 01:08:51 +1000
commit72600b4eaa8e80179e35efaddc12e7f54b47d2f5 (patch)
tree71ebd898b6bddf2ab7d1e775b489fd518a0fc23f
parentUpdate readme, more tweaks to command line interface (diff)
downloadschemer2-72600b4eaa8e80179e35efaddc12e7f54b47d2f5.tar.xz
schemer2-72600b4eaa8e80179e35efaddc12e7f54b47d2f5.zip
Fixed error in help output
-rw-r--r--main.go5
1 files 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)
}