exec: fix CLI documention (#1991)
This commit is contained in:
parent
f4f42f16b7
commit
e8a97d9b90
2 changed files with 6 additions and 6 deletions
|
@ -91,7 +91,7 @@ EXEC_PATH=./update-dns.sh \
|
||||||
It will then call the program `./update-dns.sh` like this:
|
It will then call the program `./update-dns.sh` like this:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
./update-dns.sh "present" "my.example.org." "--" "some-token" "KxAy-J3NwUmg9ZQuM-gP_Mq1nStaYSaP9tYQs5_-YsE.ksT-qywTd8058G-SHHWA3RAN72Pr0yWtPYmmY5UBpQ8"
|
./update-dns.sh "present" "--" "my.example.org." "some-token" "KxAy-J3NwUmg9ZQuM-gP_Mq1nStaYSaP9tYQs5_-YsE.ksT-qywTd8058G-SHHWA3RAN72Pr0yWtPYmmY5UBpQ8"
|
||||||
```
|
```
|
||||||
|
|
||||||
## Commands
|
## Commands
|
||||||
|
@ -106,14 +106,14 @@ you can use the `--` delimiter to specify the start of positional arguments, and
|
||||||
|
|
||||||
| Mode | Command |
|
| Mode | Command |
|
||||||
|---------|----------------------------------------------------|
|
|---------|----------------------------------------------------|
|
||||||
| default | `myprogram present -- <FQDN> <record>` |
|
| default | `myprogram present <FQDN> <record>` |
|
||||||
| `RAW` | `myprogram present -- <domain> <token> <key_auth>` |
|
| `RAW` | `myprogram present -- <domain> <token> <key_auth>` |
|
||||||
|
|
||||||
### Cleanup
|
### Cleanup
|
||||||
|
|
||||||
| Mode | Command |
|
| Mode | Command |
|
||||||
|---------|----------------------------------------------------|
|
|---------|----------------------------------------------------|
|
||||||
| default | `myprogram cleanup -- <FQDN> <record>` |
|
| default | `myprogram cleanup <FQDN> <record>` |
|
||||||
| `RAW` | `myprogram cleanup -- <domain> <token> <key_auth>` |
|
| `RAW` | `myprogram cleanup -- <domain> <token> <key_auth>` |
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -69,7 +69,7 @@ EXEC_PATH=./update-dns.sh \
|
||||||
It will then call the program `./update-dns.sh` like this:
|
It will then call the program `./update-dns.sh` like this:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
./update-dns.sh "present" "my.example.org." "--" "some-token" "KxAy-J3NwUmg9ZQuM-gP_Mq1nStaYSaP9tYQs5_-YsE.ksT-qywTd8058G-SHHWA3RAN72Pr0yWtPYmmY5UBpQ8"
|
./update-dns.sh "present" "--" "my.example.org." "some-token" "KxAy-J3NwUmg9ZQuM-gP_Mq1nStaYSaP9tYQs5_-YsE.ksT-qywTd8058G-SHHWA3RAN72Pr0yWtPYmmY5UBpQ8"
|
||||||
```
|
```
|
||||||
|
|
||||||
## Commands
|
## Commands
|
||||||
|
@ -84,14 +84,14 @@ you can use the `--` delimiter to specify the start of positional arguments, and
|
||||||
|
|
||||||
| Mode | Command |
|
| Mode | Command |
|
||||||
|---------|----------------------------------------------------|
|
|---------|----------------------------------------------------|
|
||||||
| default | `myprogram present -- <FQDN> <record>` |
|
| default | `myprogram present <FQDN> <record>` |
|
||||||
| `RAW` | `myprogram present -- <domain> <token> <key_auth>` |
|
| `RAW` | `myprogram present -- <domain> <token> <key_auth>` |
|
||||||
|
|
||||||
### Cleanup
|
### Cleanup
|
||||||
|
|
||||||
| Mode | Command |
|
| Mode | Command |
|
||||||
|---------|----------------------------------------------------|
|
|---------|----------------------------------------------------|
|
||||||
| default | `myprogram cleanup -- <FQDN> <record>` |
|
| default | `myprogram cleanup <FQDN> <record>` |
|
||||||
| `RAW` | `myprogram cleanup -- <domain> <token> <key_auth>` |
|
| `RAW` | `myprogram cleanup -- <domain> <token> <key_auth>` |
|
||||||
|
|
||||||
'''
|
'''
|
||||||
|
|
Loading…
Reference in a new issue