Skip to content

Commit f283508

Browse files
committed
update
Signed-off-by: laurentsimon <[email protected]>
1 parent f59b55e commit f283508

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -348,8 +348,8 @@ Flags:
348348
--build-workflow-input map[] [optional] a workflow input provided by a user at trigger time in the format 'key=value'. (Only for 'workflow_dispatch' events on GitHub Actions). (default map[])
349349
--builder-id string [optional] the unique builder ID who created the provenance
350350
-h, --help help for verify-npm-package
351-
--package-name string [optional] the package name
352-
--package-version string [optional] the package version
351+
--package-name string the package name
352+
--package-version string the package version
353353
--print-provenance [optional] print the verified provenance to stdout
354354
--source-branch string [optional] expected branch the binary was compiled from
355355
--source-tag string [optional] expected tag the binary was compiled from

cli/slsa-verifier/verify/options.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,10 @@ func (o *VerifyNpmOptions) AddFlags(cmd *cobra.Command) {
108108
"path to a file containing the attestations")
109109

110110
cmd.Flags().StringVar(&o.PackageName, "package-name", "",
111-
"[optional] the package name")
111+
"the package name")
112112

113113
cmd.Flags().StringVar(&o.PackageVersion, "package-version", "",
114-
"[optional] the package version")
114+
"the package version")
115115

116116
cmd.Flags().BoolVar(&o.PrintProvenance, "print-provenance", false,
117117
"[optional] print the verified provenance to stdout")

0 commit comments

Comments
 (0)