Skip to content

Commit

Permalink
fixup! fixup! 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 2, 2022
1 parent cbc6bc9 commit 6efbd57
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/syft/cli/options/packages.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ func (o *PackagesOptions) AddFlags(cmd *cobra.Command, v *viper.Viper) error {
"number of workers to use to process the catalogers in parallel")

// Lets not expose this as a cli option
cmd.Flags().MarkHidden("parallelism")
if err := cmd.Flags().MarkHidden("parallelism"); err != nil {
return err
}

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

0 comments on commit 6efbd57

Please sign in to comment.