Skip to content

Commit

Permalink
fixup! fixup: s/workers/parallelism
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikcl committed Dec 1, 2022
1 parent 38767e6 commit 68e60d2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/syft/cli/options/packages.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ func (o *PackagesOptions) AddFlags(cmd *cobra.Command, v *viper.Viper) error {
cmd.Flags().IntVarP(&o.Parallelism, "parallelism", "", 1,
"number of workers to use to process the catalogers in parallel")

// Lets not expose this as a cli option
cmd.Flags().MarkHidden("parallelism")

return bindPackageConfigOptions(cmd.Flags(), v)
}

Expand Down

0 comments on commit 68e60d2

Please sign in to comment.