Lines Matching refs:options
1790 s = _("Info does not recognize the following options:")
3336 """Used to indicate an issue with verifying options passed to a certain
3348 def __init__(self, err_type=GENERIC, options=[], msg=None,
3352 self.options = options
3359 # append the according options.
3361 if self.options:
3363 self.msg += " ".join(self.options)
3367 assert len(self.options) == 1
3369 option=self.options[0])
3371 assert len(self.options) == 2
3373 "not be repeated.").format(op1=self.options[0],
3374 op2=self.options[1])
3376 assert len(self.options) == 2
3378 "invalid.").format(op1=self.options[0],
3379 op2=self.options[1])
3385 assert len(self.options) == 2
3387 "not be combined.").format(op1=self.options[0],
3388 op2=self.options[1])
3390 assert len(self.options) == 2
3392 "'{op2}'.").format(op1=self.options[0],
3393 op2=self.options[1])
3395 assert len(self.options) > 2
3397 "'{op2}' or {op3}.").format(op1=self.options[0],
3398 op2=", ".join(self.options[1:-1]),
3399 op3=self.options[-1])
3401 assert len(self.options) == 2
3403 "specified").format(op1=self.options[0],
3404 op2=self.options[1])
3406 return _("invalid option(s): ") + " ".join(self.options)