Skip to content

Commit e8a97d9

Browse files
authored
exec: fix CLI documention (go-acme#1991)
1 parent f4f42f1 commit e8a97d9

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs/content/dns/zz_gen_exec.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ EXEC_PATH=./update-dns.sh \
9191
It will then call the program `./update-dns.sh` like this:
9292

9393
```bash
94-
./update-dns.sh "present" "my.example.org." "--" "some-token" "KxAy-J3NwUmg9ZQuM-gP_Mq1nStaYSaP9tYQs5_-YsE.ksT-qywTd8058G-SHHWA3RAN72Pr0yWtPYmmY5UBpQ8"
94+
./update-dns.sh "present" "--" "my.example.org." "some-token" "KxAy-J3NwUmg9ZQuM-gP_Mq1nStaYSaP9tYQs5_-YsE.ksT-qywTd8058G-SHHWA3RAN72Pr0yWtPYmmY5UBpQ8"
9595
```
9696

9797
## Commands
@@ -106,14 +106,14 @@ you can use the `--` delimiter to specify the start of positional arguments, and
106106

107107
| Mode | Command |
108108
|---------|----------------------------------------------------|
109-
| default | `myprogram present -- <FQDN> <record>` |
109+
| default | `myprogram present <FQDN> <record>` |
110110
| `RAW` | `myprogram present -- <domain> <token> <key_auth>` |
111111

112112
### Cleanup
113113

114114
| Mode | Command |
115115
|---------|----------------------------------------------------|
116-
| default | `myprogram cleanup -- <FQDN> <record>` |
116+
| default | `myprogram cleanup <FQDN> <record>` |
117117
| `RAW` | `myprogram cleanup -- <domain> <token> <key_auth>` |
118118

119119

providers/dns/exec/exec.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ EXEC_PATH=./update-dns.sh \
6969
It will then call the program `./update-dns.sh` like this:
7070
7171
```bash
72-
./update-dns.sh "present" "my.example.org." "--" "some-token" "KxAy-J3NwUmg9ZQuM-gP_Mq1nStaYSaP9tYQs5_-YsE.ksT-qywTd8058G-SHHWA3RAN72Pr0yWtPYmmY5UBpQ8"
72+
./update-dns.sh "present" "--" "my.example.org." "some-token" "KxAy-J3NwUmg9ZQuM-gP_Mq1nStaYSaP9tYQs5_-YsE.ksT-qywTd8058G-SHHWA3RAN72Pr0yWtPYmmY5UBpQ8"
7373
```
7474
7575
## Commands
@@ -84,14 +84,14 @@ you can use the `--` delimiter to specify the start of positional arguments, and
8484
8585
| Mode | Command |
8686
|---------|----------------------------------------------------|
87-
| default | `myprogram present -- <FQDN> <record>` |
87+
| default | `myprogram present <FQDN> <record>` |
8888
| `RAW` | `myprogram present -- <domain> <token> <key_auth>` |
8989
9090
### Cleanup
9191
9292
| Mode | Command |
9393
|---------|----------------------------------------------------|
94-
| default | `myprogram cleanup -- <FQDN> <record>` |
94+
| default | `myprogram cleanup <FQDN> <record>` |
9595
| `RAW` | `myprogram cleanup -- <domain> <token> <key_auth>` |
9696
9797
'''

0 commit comments

Comments
 (0)