Skip to content

Commit

Permalink
Merge branch 'ComplianceAsCode:master' into 11785-create-al2023-product
Browse files Browse the repository at this point in the history
  • Loading branch information
hipponix authored May 31, 2024
2 parents a86fbf8 + fe899a0 commit 6a413d4
Show file tree
Hide file tree
Showing 89 changed files with 1,190 additions and 81 deletions.
11 changes: 10 additions & 1 deletion build-scripts/profile_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,14 +315,23 @@ def parse_most_used_components(subparsers):
default=get_available_products_with_components_root(),
)
parser_most_used_components.add_argument(
"--used-rules",
"--rules",
default=False,
action="store_true",
help=(
"For every component, show the usage of each component's rule "
"in the profiles in given product."
),
)
parser_most_used_components.add_argument(
"--all",
default=False,
action="store_true",
help=(
"List all components and rules in the output, including unused "
"components and unused rules."
),
)


def get_available_products_with_components_root():
Expand Down
Loading

0 comments on commit 6a413d4

Please sign in to comment.