aboutsummaryrefslogtreecommitdiff
path: root/tsig-keygen.py
diff options
context:
space:
mode:
Diffstat (limited to 'tsig-keygen.py')
-rwxr-xr-x[-rw-r--r--]tsig-keygen.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tsig-keygen.py b/tsig-keygen.py
index 4dfc192..2241759 100644..100755
--- a/tsig-keygen.py
+++ b/tsig-keygen.py
@@ -55,9 +55,9 @@ zone:
''')
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("-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("-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")