Lines Matching refs:args

89 args = parser.parse_args()  variable
91 if args.debug:
94 elif args.verbose:
100 p = setools.SELinuxPolicy(args.policy)
103 if args.boolquery or args.all:
105 if isinstance(args.boolquery, str):
106 q.name = args.boolquery
110 if args.mlscatsquery or args.all:
112 if isinstance(args.mlscatsquery, str):
113 q.name = args.mlscatsquery
117 if args.classquery or args.all:
119 if isinstance(args.classquery, str):
120 q.name = args.classquery
124 if args.commonquery or args.all:
126 if isinstance(args.commonquery, str):
127 q.name = args.commonquery
131 if args.constraintquery or args.all:
133 if isinstance(args.constraintquery, str):
134 q.tclass = [args.constraintquery]
138 if args.defaultquery or args.all:
140 if isinstance(args.defaultquery, str):
141 q.tclass = [args.defaultquery]
145 if args.fsusequery or args.all:
147 if isinstance(args.fsusequery, str):
148 q.fs = args.fsusequery
152 if args.genfsconquery or args.all:
154 if isinstance(args.genfsconquery, str):
155 q.fs = args.genfsconquery
159 if args.initialsidquery or args.all:
161 if isinstance(args.initialsidquery, str):
162 q.name = args.initialsidquery
166 if args.netifconquery or args.all:
168 if isinstance(args.netifconquery, str):
169 q.name = args.netifconquery
173 if args.nodeconquery or args.all:
175 if isinstance(args.nodeconquery, str):
176 q.network = args.nodeconquery
180 if args.permissivequery or args.all:
182 if isinstance(args.permissivequery, str):
183 q.name = args.permissivequery
187 if args.polcapquery or args.all:
189 if isinstance(args.polcapquery, str):
190 q.name = args.polcapquery
194 if args.portconquery or args.all:
196 if isinstance(args.portconquery, str):
198 ports = [int(i) for i in args.portconquery.split("-")]
211 if args.rolequery or args.all:
213 if isinstance(args.rolequery, str):
214 q.name = args.rolequery
218 if args.mlssensquery or args.all:
220 if isinstance(args.mlssensquery, str):
221 q.name = args.mlssensquery
225 if args.typequery or args.all:
227 if isinstance(args.typequery, str):
228 q.name = args.typequery
232 if args.typeattrquery or args.all:
234 if isinstance(args.typeattrquery, str):
235 q.name = args.typeattrquery
239 if args.userquery or args.all:
241 if isinstance(args.userquery, str):
242 q.name = args.userquery
246 if args.validatetransquery or args.all:
248 if isinstance(args.validatetransquery, str):
249 q.tclass = [args.validatetransquery]
253 if (not components or args.all) and not args.flat:
295 if not args.flat:
298 result = expander(item) if args.expand else item
299 strfmt = " {0}" if not args.flat else "{0}"
303 if args.debug: