diff --git a/extra/tools/simer/internal/app/simer/simer.go b/extra/tools/simer/internal/app/simer/simer.go index 5d672da..258365f 100644 --- a/extra/tools/simer/internal/app/simer/simer.go +++ b/extra/tools/simer/internal/app/simer/simer.go @@ -93,7 +93,7 @@ func SimbusCommand(docMap map[string][]kind.KindDoc, simbusPath string, flags Fl slog.Debug(fmt.Sprintf(" %s", stackDoc.Metadata.Name)) // All or only some stacks? if flags.Stack != "" { - if slices.Contains(flags.StackList, stackDoc.Metadata.Name) { + if !slices.Contains(flags.StackList, stackDoc.Metadata.Name) { continue } } @@ -164,7 +164,7 @@ func ModelCommandList(docMap map[string][]kind.KindDoc, modelcPath string, model slog.Debug(fmt.Sprintf(" %s", stackDoc.Metadata.Name)) // All or only some stacks? if flags.Stack != "" { - if slices.Contains(flags.StackList, stackDoc.Metadata.Name) { + if !slices.Contains(flags.StackList, stackDoc.Metadata.Name) { continue // Next stack. } }