summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvg <vgm+dev@devys.org>2019-05-22 21:30:39 +0200
committervg <vgm+dev@devys.org>2019-05-22 21:30:39 +0200
commit85aed5a012e21350f8f954da4a540167137a8142 (patch)
treee3d2369b34216a93563835a0d375b49c3979eb1e
parent33ece417749ee991da09471750c38880516f0fe0 (diff)
downloadacme-dns-tiny-85aed5a012e21350f8f954da4a540167137a8142.tar.gz
acme-dns-tiny-85aed5a012e21350f8f954da4a540167137a8142.tar.bz2
acme-dns-tiny-85aed5a012e21350f8f954da4a540167137a8142.zip
fix docopt help text
-rw-r--r--acme_dns_tiny.py20
1 files 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