From 6a1e3f32fe68746d2a2b117e1a36e9266cf02995 Mon Sep 17 00:00:00 2001 From: Artemii Date: Fri, 1 Nov 2024 16:43:00 +0100 Subject: [PATCH] =?UTF-8?q?Issue=20#3143=20=E2=80=93=20fixed=20format=20co?= =?UTF-8?q?nversion=20docs=20link=20(#3407)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: fixed format conversion docs link (#3143) Signed-off-by: Artemii Fedotov * changed link to wiki docs Signed-off-by: Artemii Fedotov --------- Signed-off-by: Artemii Fedotov --- cmd/syft/internal/commands/convert.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/syft/internal/commands/convert.go b/cmd/syft/internal/commands/convert.go index 510027ce7f5e..d10791969cfa 100644 --- a/cmd/syft/internal/commands/convert.go +++ b/cmd/syft/internal/commands/convert.go @@ -17,7 +17,7 @@ import ( const ( convertExample = ` {{.appName}} {{.command}} img.syft.json -o spdx-json convert a syft SBOM to spdx-json, output goes to stdout - {{.appName}} {{.command}} img.syft.json -o cyclonedx-json=img.cdx.json convert a syft SBOM to CycloneDX, output is written to the file "img.cdx.json"" + {{.appName}} {{.command}} img.syft.json -o cyclonedx-json=img.cdx.json convert a syft SBOM to CycloneDX, output is written to the file "img.cdx.json" {{.appName}} {{.command}} - -o spdx-json convert an SBOM from STDIN to spdx-json ` ) @@ -39,7 +39,7 @@ func Convert(app clio.Application) *cobra.Command { return app.SetupCommand(&cobra.Command{ Use: "convert [SOURCE-SBOM] -o [FORMAT]", Short: "Convert between SBOM formats", - Long: "[Experimental] Convert SBOM files to, and from, SPDX, CycloneDX and Syft's format. For more info about data loss between formats see https://github.com/anchore/syft#format-conversion-experimental", + Long: "[Experimental] Convert SBOM files to, and from, SPDX, CycloneDX and Syft's format. For more info about data loss between formats see https://github.com/anchore/syft/wiki/format-conversion", Example: internal.Tprintf(convertExample, map[string]interface{}{ "appName": id.Name, "command": "convert",