Home | History | Annotate | Download | only in bin

Lines Matching refs:parser

26 parser = argparse.ArgumentParser(
29 parser.add_argument("--version", action="version", version=setools.__version__)
30 parser.add_argument("policy", help="Path to the SELinux policy to search.", nargs="?")
31 parser.add_argument("-v", "--verbose", action="store_true",
33 parser.add_argument("--debug", action="store_true", dest="debug", help="Enable debugging.")
35 rtypes = parser.add_argument_group("TE Rule Types")
55 rbacrtypes = parser.add_argument_group("RBAC Rule Types")
63 mlsrtypes = parser.add_argument_group("MLS Rule Types")
68 expr = parser.add_argument_group("Expressions")
82 opts = parser.add_argument_group("Search options")
102 args = parser.parse_args()
105 parser.error("At least one rule type must be specified.")