Fixlayout always printed help
@@ -95,10 +95,10 @@ func (fixLayout *FixLayout) Execute(writer io.Writer, parameters []string) {
if successOutput != "" {
fmt.Fprintln(writer, successOutput)
}
- }
-
+ } else {
fixLayout.PrintHelp(writer)
}
+}
// Name represents this commands indentifier.
func (fixLayout *FixLayout) Name() string {
