Lines Matching refs:options
50 def skiptype(options, prop): argument
53 if field not in options.fields:
55 if isgroup and "posixgroup" not in options.types and \
56 "smbgroup" not in options.types:
58 if not isgroup and "posixuser" not in options.types and \
59 "smbuser" not in options.types:
63 def new_entry(options, isgroup, domain, rid): argument
78 if typename.lower().replace(" ", "") not in options.types:
85 if not options.noname and rid < 1<<31:
104 def process_one_raw(acct, options, prop, elem): argument
111 if options.translate and domain:
123 v = new_entry(options, isgroup, domain, rid)
132 if options.parsable:
184 (options, args) = parser.parse_args(sys.argv[2:])
189 options.fields = options.fields.split(",")
190 for f in options.fields:
194 options.types = options.types.split(",")
195 for t in options.types:
199 if not options.sortfields:
200 options.sortfields = [("-s", "type"), ("-s", "name")]
202 if "all" in options.types:
203 options.types = types[1:]
208 options.noname = True
219 if skiptype(options, prop):
222 process_one_raw(acct, options, prop, elem)
226 for (opt, field) in options.sortfields:
244 t = zfs.table.Table(options.fields, rjustfields)
247 t.printme(not options.noheaders)