aboutsummaryrefslogtreecommitdiff
path: root/tsig-keygen.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2019-12-25 17:25:49 -0500
committerRob Austein <sra@hactrn.net>2019-12-25 17:25:49 -0500
commitedc47afc341bacaf5540791ed2cc7e5c5f72d699 (patch)
tree9773a11812e839deb7f338d79939a5c16395b928 /tsig-keygen.py
parent851f2b128f59f568cf82acb56ad26192da2db7d3 (diff)
More help
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")