Skip to content

Commit

Permalink
fixup! fixup: s/workers/parallelism
Browse files Browse the repository at this point in the history
Signed-off-by: mikcl <mikesmikes400@gmail.com>
  • Loading branch information
Mikcl committed Dec 1, 2022
1 parent 913c045 commit 25be4fb
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 25be4fb

Please sign in to comment.