diff --git a/README.md b/README.md index 00b051b..17b8d08 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,6 @@ shared_secret = your_shared_secret ``` - ## example usage ### command line @@ -55,6 +54,37 @@ certbot certonly -c wildcard-ini ``` +## help +``` +usage: update-record.py [-h] -r type [--delete] [-u] [-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 + +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 + -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) + -s section, --config_section section + configuration section (live, ote) default: live + -v, --verbose verbose + -d, --debug debug +``` + ## Licences Get some code snippets from the [inwx documentation](https://www.inwx.de/de/help/apidoc/f/ch01s05.html#idm144) and form the [pyhton 2.7 inwx repository](https://github.com/inwx/python2.7-client).