From edc47afc341bacaf5540791ed2cc7e5c5f72d699 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Wed, 25 Dec 2019 17:25:49 -0500 Subject: More help --- tsig-keygen.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 tsig-keygen.py (limited to 'tsig-keygen.py') diff --git a/tsig-keygen.py b/tsig-keygen.py old mode 100644 new mode 100755 index 4dfc192..2241759 --- 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") -- cgit v1.2.3