Lines Matching defs:sys
17 import sys
58 sys.stdout.write("Usage: " + sys.argv[0] + " [-n number] " +
60 sys.stdout.write(" [-m MAXSIZE] [-f zone-file]\n")
64 optlist, args = getopt.getopt(sys.argv[1:], "hp:f:n:t:m:",
71 sys.exit(0)
85 sys.stderr.write(sys.argv[0] + ": " + str(reason) + "\n")
87 sys.exit(1)
91 sys.exit(1)
107 sys.stderr.write("No domains found in '%s'\n" % zone_file)
108 sys.exit(1)
113 sys.stdout.write(make_domain(gen_random_label()))
115 sys.stdout.write(make_domain(gen.choice(domain_names)))
117 sys.stdout.write(make_domain(gen_random_label()))
118 sys.stdout.write("\n")