diff --git a/cmd/inspect.go b/cmd/inspect.go index 05289179e..fc9af6931 100644 --- a/cmd/inspect.go +++ b/cmd/inspect.go @@ -60,7 +60,7 @@ var inspectCmd = &cobra.Command{ } c, err := clab.NewContainerLab(opts...) if err != nil { - fmt.Errorf("could not parse the topology file: %v", err) + log.Errorf("could not parse the topology file: %v", err) } if name == "" {