@ -259,12 +259,14 @@ def main() -> int:
ttl = None
if 'ttl' in args:
ttl = args.ttl
if args.command != "update":
args.argument = None
try:
url = setup_url(baseurl, args.argument, args.data, args.name,
args.rtype, ttl, args.zone)
except AttributeError:
parser.print_help(sys.stderr)
sys.exit(1)
return 1
if args.command == "add":
@ -5,7 +5,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
setuptools.setup(
name="knotctl",
version="0.0.3",
version="0.0.4",
packages = setuptools.find_packages(),
author="Micke Nordin",
author_email="hej@mic.ke",