|
@@ -55,9 +55,9 @@ zone:
|
|
''')
|
|
''')
|
|
|
|
|
|
ap = argparse.ArgumentParser(description = __doc__)
|
|
ap = argparse.ArgumentParser(description = __doc__)
|
|
-ap.add_argument("-a", "--algorithm", choices = algorithm_choices, default = algorithm_choices[0])
|
|
|
|
|
|
+ap.add_argument("-a", "--algorithm", choices = algorithm_choices, default = algorithm_choices[0], help = "TSIG algorithm")
|
|
ap.add_argument("-d", "--directory", default = "secondary", help = "where to store secondary zone files")
|
|
ap.add_argument("-d", "--directory", default = "secondary", help = "where to store secondary zone files")
|
|
-ap.add_argument("-f", "--format", choices = tuple(templates), default = "nsd")
|
|
|
|
|
|
+ap.add_argument("-f", "--format", choices = tuple(templates), default = "nsd", help = "output format (default: nsd")
|
|
ap.add_argument("-k", "--key", help = "TSIG shared secret (default: generate new secret)")
|
|
ap.add_argument("-k", "--key", help = "TSIG shared secret (default: generate new secret)")
|
|
ap.add_argument("-n", "--name", default = "tsig.example.org", help = "DNS name for TSIG shared secret")
|
|
ap.add_argument("-n", "--name", default = "tsig.example.org", help = "DNS name for TSIG shared secret")
|
|
ap.add_argument("-o", "--output", default = "-", type = argparse.FileType("w"), help = "output file")
|
|
ap.add_argument("-o", "--output", default = "-", type = argparse.FileType("w"), help = "output file")
|