diff --git a/README.md b/README.md index 0dd923b..c9e2c6c 100644 --- a/README.md +++ b/README.md @@ -65,29 +65,23 @@ ## help ``` -usage: update-record.py [-h] -r type [--delete] [-u] [-c path] [-t TTL] - [-s section] [-v] [-d] - domain [content] +usage: update-record.py [-h] -r type -m mode [-p] [-c path] [-t TTL] [-s section] [-v] [-d] domain [content] inwx subdomain update positional arguments: domain full domain like subdomain.example.com - content ip or string to fill/update into subdomain domain - entry + content ip or string to fill/update into subdomain domain entry optional arguments: -h, --help show this help message and exit -r type, --record-type type record type (A, AAAA, TXT, CNAME, TLSA) - --delete delete existing record with given content, or delete - all records if no content is given - -u, --update update all existing records if one exists, otherwise - fails + -m mode, --mode mode operation mode (create, update, delete) update:update all existing records if one exists, or create if not existing delete: delete existing record with given content, or delete all records if no content is given + -p, --public-ip insert public ip. Use -r A for ip4 an -r AAAA for ipv6 -c path, --config_file path path to configuration file - -t TTL, --ttl TTL TTL (time to live) of the nameserver record in seconds - (default 3600) + -t TTL, --ttl TTL TTL (time to live) of the nameserver record in seconds (default 3600) -s section, --config_section section configuration section (live, ote) default: live -v, --verbose verbose