Home | History | Annotate | Download | only in bin

Lines Matching defs:parser

27 parser = argparse.ArgumentParser(
30 parser.add_argument("POLICY1", help="Path to the first SELinux policy to diff.", nargs=1)
31 parser.add_argument("POLICY2", help="Path to the second SELinux policy to diff.", nargs=1)
32 parser.add_argument("--version", action="version", version=setools.__version__)
33 parser.add_argument("--stats", action="store_true", help="Display only statistics.")
34 parser.add_argument("-v", "--verbose", action="store_true",
36 parser.add_argument("--debug", action="store_true", dest="debug", help="Enable debugging.")
38 comp = parser.add_argument_group("component differences")
53 terule = parser.add_argument_group("type enforcement rule differences")
72 rbacrule = parser.add_argument_group("RBAC rule differences")
77 mlsrule = parser.add_argument_group("MLS rule differences")
81 constrain = parser.add_argument_group("Constraint differences")
89 labeling = parser.add_argument_group("labeling statement differences")
97 other = parser.add_argument_group("other differences")
104 args = parser.parse_args()