Lines Matching defs:sys
13 import sys
54 sys.stdout.write("Usage: " + sys.argv[0] + " [-n number] " + \
56 sys.stdout.write(" [-m MAXSIZE] [-f zone-file]\n")
59 optlist, args = getopt.getopt(sys.argv[1:], "hp:f:n:t:m:",
66 sys.exit(0)
80 sys.stderr.write(sys.argv[0] + ": " + str(reason) + "\n")
82 sys.exit(1)
86 sys.exit(1)
103 sys.stderr.write("No domains found in '%s'\n" % zone_file)
104 sys.exit(1)
108 sys.stdout.write(make_domain(gen_random_label()))
110 sys.stdout.write(make_domain(gen.choice(domains)))
112 sys.stdout.write(make_domain(gen_random_label()))
113 sys.stdout.write("\n")