Lines Matching defs:args
104 args = parser.parse_args()
106 if args.debug:
109 elif args.verbose:
115 p = setools.SELinuxPolicy(args.policy)
118 if args.boolquery or args.all:
120 if isinstance(args.boolquery, str):
121 q.name = args.boolquery
125 if args.mlscatsquery or args.all:
127 if isinstance(args.mlscatsquery, str):
128 q.name = args.mlscatsquery
132 if args.classquery or args.all:
134 if isinstance(args.classquery, str):
135 q.name = args.classquery
139 if args.commonquery or args.all:
141 if isinstance(args.commonquery, str):
142 q.name = args.commonquery
146 if args.constraintquery or args.all:
148 if isinstance(args.constraintquery, str):
149 q.tclass = [args.constraintquery]
153 if args.defaultquery or args.all:
155 if isinstance(args.defaultquery, str):
156 q.tclass = [args.defaultquery]
160 if args.fsusequery or args.all:
162 if isinstance(args.fsusequery, str):
163 q.fs = args.fsusequery
167 if args.genfsconquery or args.all:
169 if isinstance(args.genfsconquery, str):
170 q.fs = args.genfsconquery
174 if args.initialsidquery or args.all:
176 if isinstance(args.initialsidquery, str):
177 q.name = args.initialsidquery
181 if args.netifconquery or args.all:
183 if isinstance(args.netifconquery, str):
184 q.name = args.netifconquery
188 if args.nodeconquery or args.all:
190 if isinstance(args.nodeconquery, str):
191 q.network = args.nodeconquery
195 if args.permissivequery or args.all:
197 if isinstance(args.permissivequery, str):
198 q.name = args.permissivequery
202 if args.polcapquery or args.all:
204 if isinstance(args.polcapquery, str):
205 q.name = args.polcapquery
209 if args.portconquery or args.all:
211 if isinstance(args.portconquery, str):
213 ports = [int(i) for i in args.portconquery.split("-")]
226 if args.rolequery or args.all:
228 if isinstance(args.rolequery, str):
229 q.name = args.rolequery
233 if args.mlssensquery or args.all:
235 if isinstance(args.mlssensquery, str):
236 q.name = args.mlssensquery
240 if args.typeboundsquery or args.all:
242 if isinstance(args.typeboundsquery, str):
243 q.child = args.typeboundsquery
247 if args.typequery or args.all:
249 if isinstance(args.typequery, str):
250 q.name = args.typequery
254 if args.typeattrquery or args.all:
256 if isinstance(args.typeattrquery, str):
257 q.name = args.typeattrquery
261 if args.userquery or args.all:
263 if isinstance(args.userquery, str):
264 q.name = args.userquery
268 if args.validatetransquery or args.all:
270 if isinstance(args.validatetransquery, str):
271 q.tclass = [args.validatetransquery]
276 if args.ioportconquery or args.all:
280 if args.iomemconquery or args.all:
284 if args.pcideviceconquery or args.all:
288 if args.pirqconquery or args.all:
292 if args.devicetreeconquery or args.all:
296 if (not components or args.all) and not args.flat:
353 if not args.flat:
356 result = expander(item) if args.expand else item
357 strfmt = " {0}" if not args
361 if args.debug: