From 85aed5a012e21350f8f954da4a540167137a8142 Mon Sep 17 00:00:00 2001 From: vg Date: Wed, 22 May 2019 21:30:39 +0200 Subject: fix docopt help text --- acme_dns_tiny.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/acme_dns_tiny.py b/acme_dns_tiny.py index ca29155..7a85d13 100644 --- a/acme_dns_tiny.py +++ b/acme_dns_tiny.py @@ -9,10 +9,10 @@ please read through it. It's about 326 lines, 225 SLOC with no line exceeding 80cols. Usage: - acme_tiny_dns.py [--contact=MAIL]... [--quiet] [--verbose] + acme_dns_tiny.py [--contact=MAIL]... [--quiet] [--verbose] [--acme-directory=URL] [--ttl=SECONDS] (--account-key=PATH) (--csr=PATH) (--script=PATH) - acme_tiny_dns.py -h|--help + acme_dns_tiny.py -h|--help Options: @@ -25,7 +25,7 @@ Options: --ttl=SECONDS time before (re)try self check --script=PATH script to run to update the DNS server record -Called script usage: +Called script: Script is called with the following arguments: action zone challenge @@ -35,16 +35,16 @@ Script is called with the following arguments: action zone challenge Example: -acme_tiny_dns.py \\ - --account-key=./account.key \\ - --csr=./domain.csr \\ - --contact=contact@domain \\ - --ttl=300 \\ - --script=./update-dns-record > signed.crt +| path/to/ \\ +| --account-key=./account.key \\ +| --csr=./domain.csr \\ +| --contact=contact@domain \\ +| --ttl=300 \\ +| --script=./update-dns-record > signed.crt Example Crontab Renewal (once per month): -0 0 1 * * acme_tiny_dns.py --account-key /path/to/account.key \ +0 0 1 * * path/to/acme_dns_tiny.py --account-key /path/to/account.key \ --csr /path/to/domain.csr > /path/to/signed.crt \ 2>> /var/log/acme_tiny.log -- cgit v1.2.3