Fixlayout always printed help
MODIFY
internal/commands/commandimpls/fixlayout.go
internal/commands/commandimpls/fixlayout.go
@@ -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 {

Fixlayout always printed help