Skip to content

Commit 880dd79

Browse files
authored
feat!: spec-version defaults to CycloneDX 1.6 (#885)
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent 6ca7829 commit 880dd79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cyclonedx_py/_internal/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def make_argument_parser(cls, sco: ArgumentParser, **kwargs: Any) -> ArgumentPar
7474
dest='spec_version',
7575
choices=SchemaVersion,
7676
type=SchemaVersion.from_version,
77-
default=SchemaVersion.V1_5.to_version())
77+
default=SchemaVersion.V1_6.to_version())
7878
op.add_argument('--sv', '--spec-version',
7979
metavar='<version>',
8080
help='Which version of CycloneDX to use.'
@@ -83,7 +83,7 @@ def make_argument_parser(cls, sco: ArgumentParser, **kwargs: Any) -> ArgumentPar
8383
dest='spec_version',
8484
choices=SchemaVersion,
8585
type=SchemaVersion.from_version,
86-
default=SchemaVersion.V1_5.to_version())
86+
default=SchemaVersion.V1_6.to_version())
8787
op.add_argument('--output-reproducible',
8888
help='Whether to go the extra mile and make the output reproducible.\n'
8989
'This might result in loss of time- and random-based values.',

0 commit comments

Comments
 (0)