Lines Matching refs:opt
133 for opt in options:
134 if opt._config != config:
139 self._groups = [ opt._group for opt in options ]
158 for opt in self._options:
159 if opt.name:
160 names.append(opt.name)
164 for opt in self._options:
165 if opt.desc:
166 descs.append(opt.desc)
172 for opt in options:
173 cpt = opt._group._checkpoint
177 opt = cpt.clone(suboptions=False)
179 opt = opt.clone(suboptions=False)
181 opts.append(opt)
270 opt = Option(name, desc, **kwargs)
271 opt._config = self._config
272 opt._group = self
273 opt._number = len(self._options)
274 self._options.append(opt)
275 return opt
282 for opt in self._options:
283 for subo in opt.subopts():
335 for opt in options:
336 cpt = opt._group._checkpoint
337 if not isinstance(cpt, bool) and cpt != opt:
395 options = [ (opt._group._number, opt) for opt in options ]
397 options = [ opt[1] for opt in options ]
440 for opt,arg in opts:
441 if opt == '-b':
444 if opt == '-c':
446 if opt == '-v':