Skip to content

Commit 86f7a19

Browse files
authored
✏️ Change docs for cyclonedx 1.5 version update (#341)
Changes - Updates documentation reference to include cyclonedx v1.5, from #337 - Changes reference to default version, from 1.4 to 1.5 Signed-off-by: leec94 <[email protected]>
1 parent 01fb950 commit 86f7a19

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ Options:
110110
--output-file <output-file> Output BOM filename, will write to stdout if no value provided.
111111
--input-format <autodetect|csv|json|protobuf|spdxjson|xml> Specify input file format.
112112
--output-format <autodetect|csv|json|protobuf|spdxjson|xml> Specify output file format.
113-
--output-version <v1_0|v1_1|v1_2|v1_3|v1_4> Specify output BOM specification version. (ignored for CSV and SPDX formats)
113+
--output-version <v1_0|v1_1|v1_2|v1_3|v1_4|v1_5> Specify output BOM specification version. (ignored for CSV and SPDX formats)
114114
```
115115

116116
### Examples
@@ -263,7 +263,7 @@ Usage:
263263
Options:
264264
--input-file <input-file> Input BOM filename, will read from stdin if no value provided.
265265
--input-format <autodetect|json|xml> Specify input file format.
266-
--input-version <v1_0|v1_1|v1_2|v1_3|v1_4> Specify input file specification version (defaults to v1.4)
266+
--input-version <v1_0|v1_1|v1_2|v1_3|v1_4|v1_5> Specify input file specification version (defaults to v1.5)
267267
--fail-on-errors Fail on validation errors (return a non-zero exit code)
268268
```
269269

src/cyclonedx/Commands/ValidateCommand.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public static void Configure(RootCommand rootCommand)
3535
var subCommand = new System.CommandLine.Command("validate", "Validate a BOM");
3636
subCommand.Add(new Option<string>("--input-file", "Input BOM filename, will read from stdin if no value provided."));
3737
subCommand.Add(new Option<ValidationBomFormat>("--input-format", "Specify input file format."));
38-
subCommand.Add(new Option<SpecificationVersion?>("--input-version", "Specify input file specification version (defaults to v1.4)"));
38+
subCommand.Add(new Option<SpecificationVersion?>("--input-version", "Specify input file specification version (defaults to v1.5)"));
3939
subCommand.Add(new Option<bool>("--fail-on-errors", "Fail on validation errors (return a non-zero exit code)"));
4040
subCommand.Handler = CommandHandler.Create<ValidateCommandOptions>(Validate);
4141
rootCommand.Add(subCommand);

0 commit comments

Comments
 (0)