Minor changes to text messages

This commit is contained in:
2004-01-25 22:06:48 +00:00
parent 393ab08820
commit 5020d5a4a3

View File

@@ -1,6 +1,6 @@
#! /usr/bin/env python #! /usr/bin/env python
# dnsupdate.py # dnsupdate.py
# Updates a dynamic dns-record using a TSIG key. # A utility to update dynamic dns-records using a TSIG key.
def checkerror(msg, show=""): def checkerror(msg, show=""):
@@ -43,25 +43,25 @@ def getparams(msg):
help="Alternate config file") help="Alternate config file")
parser.add_option("--delete", parser.add_option("--delete",
action="store_true", action="store_true",
help="Remove the host from the zone") help="Remove the host from the nameserver")
parser.add_option("-d", "--domain", parser.add_option("-d", "--domain",
type="string", type="string",
help="Domain to update") help="Domain to update")
parser.add_option("--force", parser.add_option("--force",
action="store_true", action="store_true",
help="Force the action") help="Force the action, do not check if update is necessary")
parser.add_option("-i", "--ipaddress", parser.add_option("-i", "--ipaddress",
type="string", type="string",
help="IP-address of the host [auto detected]") help="Public IP-address for this host [auto detected]")
parser.add_option("-k", "--keyname", parser.add_option("-k", "--keyname",
type="string", type="string",
help="Name of the TSIG key") help="Name of the TSIG key")
parser.add_option("-n", "--hostname", parser.add_option("-n", "--hostname",
type="string", type="string",
help="Hostname of local machine") help="Hostname to publish")
parser.add_option("--nameserver", parser.add_option("--nameserver",
type="string", type="string",
help="Nameserver to send queries to") help="IP-address to the nameserver")
parser.add_option("-q", "--quiet", parser.add_option("-q", "--quiet",
action="store_true", action="store_true",
help="Quit mode") help="Quit mode")
@@ -73,7 +73,7 @@ def getparams(msg):
help="Display config file data") help="Display config file data")
parser.add_option("-u", "--ipurl", parser.add_option("-u", "--ipurl",
type="string", type="string",
help="URL to ip server") help="URL to the server which detects the public IP-address")
parser.add_option("-t", "--ttl", parser.add_option("-t", "--ttl",
type="int", type="int",
help="TTL in seconds") help="TTL in seconds")