+# allow overwriting some values on the command-line
+parser = argparse.ArgumentParser(description='Update a domain managed by a dyn-nsupdate server')
+parser.add_argument("-s", "--server",
+ dest="server", default=server,
+ help="The dyn-nsupdate server")
+parser.add_argument("-p", "--password",
+ dest="password", default=password,
+ help="The password used to update the domains")
+parser.add_argument("-v", "--verbose",
+ action="store_true", dest="verbose",
+ help="Be more verbose")
+parser.add_argument("domains", metavar='DOMAIN', nargs='*', default=domains,
+ help="The domains to update")
+args = parser.parse_args()
+