From 86f7a192ff9670924a6e26a31f0b655e23633217 Mon Sep 17 00:00:00 2001 From: Caroline Date: Sun, 11 Aug 2024 16:49:43 -0400 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=EF=B8=8F=20Change=20docs=20for=20cycl?= =?UTF-8?q?onedx=201.5=20version=20update=20(#341)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changes - Updates documentation reference to include cyclonedx v1.5, from https://github.com/CycloneDX/cyclonedx-cli/pull/337 - Changes reference to default version, from 1.4 to 1.5 Signed-off-by: leec94 --- README.md | 4 ++-- src/cyclonedx/Commands/ValidateCommand.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1f9c360..465f000 100755 --- a/README.md +++ b/README.md @@ -110,7 +110,7 @@ Options: --output-file Output BOM filename, will write to stdout if no value provided. --input-format Specify input file format. --output-format Specify output file format. - --output-version Specify output BOM specification version. (ignored for CSV and SPDX formats) + --output-version Specify output BOM specification version. (ignored for CSV and SPDX formats) ``` ### Examples @@ -263,7 +263,7 @@ Usage: Options: --input-file Input BOM filename, will read from stdin if no value provided. --input-format Specify input file format. - --input-version Specify input file specification version (defaults to v1.4) + --input-version Specify input file specification version (defaults to v1.5) --fail-on-errors Fail on validation errors (return a non-zero exit code) ``` diff --git a/src/cyclonedx/Commands/ValidateCommand.cs b/src/cyclonedx/Commands/ValidateCommand.cs index 164d50f..75075b3 100644 --- a/src/cyclonedx/Commands/ValidateCommand.cs +++ b/src/cyclonedx/Commands/ValidateCommand.cs @@ -35,7 +35,7 @@ public static void Configure(RootCommand rootCommand) var subCommand = new System.CommandLine.Command("validate", "Validate a BOM"); subCommand.Add(new Option("--input-file", "Input BOM filename, will read from stdin if no value provided.")); subCommand.Add(new Option("--input-format", "Specify input file format.")); - subCommand.Add(new Option("--input-version", "Specify input file specification version (defaults to v1.4)")); + subCommand.Add(new Option("--input-version", "Specify input file specification version (defaults to v1.5)")); subCommand.Add(new Option("--fail-on-errors", "Fail on validation errors (return a non-zero exit code)")); subCommand.Handler = CommandHandler.Create(Validate); rootCommand.Add(subCommand);