Lines Matching refs:Action
47 class CheckPath(argparse.Action):
55 class CheckType(argparse.Action):
72 class CheckBoolean(argparse.Action):
95 class CheckDomain(argparse.Action):
118 class CheckClass(argparse.Action):
130 class CheckAdmin(argparse.Action):
144 class CheckPort(argparse.Action):
157 class CheckPortType(argparse.Action):
171 class LoadPolicy(argparse.Action):
179 class CheckPolicyType(argparse.Action):
189 class CheckUser(argparse.Action):
202 class CheckRole(argparse.Action):
215 class InterfaceInfo(argparse.Action):
332 action=CheckDomain,
334 gui.add_argument("-t", "--test", default=False, action="store_true",
369 man.add_argument("-w", "--web", dest="web", default=False, action="store_true",
373 man.add_argument("--source_files", dest="source_files", default=False, action="store_true",
377 action="store_true",
380 action=CheckDomain,
391 action="store_true",
394 action=CheckPort, nargs="+", type=int,
397 action=CheckPortType, nargs="+",
400 action=CheckDomain, nargs="+",
423 action=CheckDomain, required=True,
426 action=CheckDomain, required=True,
429 action=CheckClass,
451 action="store_true",
454 action=CheckBoolean, required=False,
469 action=CheckDomain, required=True,
472 action=CheckDomain,
570 action="store_true", default=False,
573 action="store_true", default=False,
578 group.add_argument("-a", "--list_admin", dest="list_admin", action="store_true", default=False,
580 group.add_argument("-u", "--list_user", dest="list_user", action="store_true",
583 group.add_argument("-l", "--list", dest="list", action="store_true",
587 action=InterfaceInfo,
600 action=CheckDomain, nargs="*",
603 action=CheckUser,
606 action=CheckRole,
609 action=CheckAdmin,
614 pol.add_argument("-T", "--test", dest="test", default=False, action="store_true",
617 action=CheckType,
626 action="store_const",
629 action="store_const",
632 action="store_const",
635 action="store_const",
638 action="store_const", default=DAEMON,
644 action="store_const",
647 action="store_const",
650 action="store_const",
653 action="store_const",
656 action="store_const",
659 action="store_const",
662 action="store_const",
665 action="store_const",
675 action=LoadPolicy,