mirror of
https://github.com/anchore/syft.git
synced 2026-11-01 15:06:36 +01:00
rename analyzers to catalogers; fix generic cataloger path dispatcher
This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@ func setCliOptions() {
|
||||
flag := "scope"
|
||||
rootCmd.Flags().StringP(
|
||||
"scope", "s", scope.AllLayersScope.String(),
|
||||
fmt.Sprintf("selection of layers to analyze, options=%v", scope.Options))
|
||||
fmt.Sprintf("selection of layers to catalog, options=%v", scope.Options))
|
||||
if err := viper.BindPFlag(flag, rootCmd.Flags().Lookup(flag)); err != nil {
|
||||
fmt.Printf("unable to bind flag '%s': %+v", flag, err)
|
||||
os.Exit(1)
|
||||
|
||||
Reference in New Issue
Block a user