Lines Matching refs:make_option
20 from optparse import make_option, Option, \
206 self.assertRaises(make_option, args, kwargs,
210 self.assertTypeError(make_option,
637 options = [make_option("-a", type="string"),
638 make_option("-b", "--boo", type="int", dest='boo'),
639 make_option("--foo", action="append")]
782 options = [make_option("-v",
787 make_option("-q",
841 self.v_opt = make_option("-v", action="count", dest="verbose")
972 make_option("-v", action="store_true", dest="verbose", default=1)])
1094 options = [make_option("-x",
1098 make_option("-f",
1148 options = [make_option("-p", "--point", action="callback",
1173 options = [make_option(str(x), action="callback",
1202 options = [make_option("-a", "--apple", action="callback", nargs=2,
1204 make_option("-b", "--bob", action="callback", nargs=3,
1239 options = [make_option("-a", type="int", nargs=2, dest="a"),
1240 make_option("-b", action="store_true", dest="b"),
1241 make_option("-c", "--callback", action="callback",
1292 options = [make_option("-v", "--verbose", action="count",
1487 make_option("-a", type="string", dest='a',
1489 make_option("-b", "--boo", type="int", dest='boo',
1494 make_option("--foo", action="append", type="string", dest='foo',