utils/generate-cyclonedx: fix wrong example usage
The real file is utils/generate-cyclonedx, not utils/generate-cyclonedx.py. Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
630c20a2b2
commit
66a0513e0e
@@ -5,7 +5,7 @@
|
||||
# to CycloneDX format.
|
||||
#
|
||||
# Example usage:
|
||||
# > make show-info | utils/generate-cyclonedx.py | jq '.'
|
||||
# > make show-info | utils/generate-cyclonedx | jq '.'
|
||||
|
||||
|
||||
import argparse
|
||||
@@ -270,7 +270,7 @@ def br2_parse_deps_recursively(ref, show_info_dict, virtual=False, deps=[]):
|
||||
def main():
|
||||
parser = argparse.ArgumentParser(
|
||||
description='''Create a CycloneDX SBoM for the Buildroot configuration.
|
||||
Example usage: make show-info | utils/generate-cyclonedx.py | jq > sbom.json
|
||||
Example usage: make show-info | utils/generate-cyclonedx | jq > sbom.json
|
||||
'''
|
||||
)
|
||||
parser.add_argument("-i", "--in-file", nargs="?", type=argparse.FileType("r"),
|
||||
|
||||
Reference in New Issue
Block a user