From fd19307e7c2e896880e74bcda4e866726cd7c1a9 Mon Sep 17 00:00:00 2001 From: Brandon Lum Date: Tue, 1 Aug 2023 15:35:47 -0400 Subject: [PATCH] make --file argument required Signed-off-by: Brandon Lum --- ntia_conformance_checker/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ntia_conformance_checker/main.py b/ntia_conformance_checker/main.py index f21d07b..cca378e 100644 --- a/ntia_conformance_checker/main.py +++ b/ntia_conformance_checker/main.py @@ -15,7 +15,7 @@ def get_parsed_args(): prog="ntia-checker", description="Check if SPDX SBOM complies with NTIA minimum elements", ) - parser.add_argument("--file", help="Filepath for SPDX SBOM") + parser.add_argument("--file", required=True, help="Filepath for SPDX SBOM") parser.add_argument( "--output", choices=["print", "json", "html", "quiet"],