diff --git a/cmd/syft/internal/options/output_file.go b/cmd/syft/internal/options/output_file.go index cf8e5632b..64e7abb39 100644 --- a/cmd/syft/internal/options/output_file.go +++ b/cmd/syft/internal/options/output_file.go @@ -28,7 +28,7 @@ func (o *OutputFile) AddFlags(flags clio.FlagSet) { if pfp, ok := flags.(fangs.PFlagSetProvider); ok { flagSet := pfp.PFlagSet() - flagSet.Lookup("file").Deprecated = "use: output" + flagSet.Lookup("file").Deprecated = "use: --output FORMAT=PATH" } } }