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:
|
||||
|
||||
```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
|
||||
|
@ -106,14 +106,14 @@ you can use the `--` delimiter to specify the start of positional arguments, and
|
|||
|
||||
| Mode | Command |
|
||||
|---------|----------------------------------------------------|
|
||||
| default | `myprogram present -- <FQDN> <record>` |
|
||||
| default | `myprogram present <FQDN> <record>` |
|
||||
| `RAW` | `myprogram present -- <domain> <token> <key_auth>` |
|
||||
|
||||
### Cleanup
|
||||
|
||||
| Mode | Command |
|
||||
|---------|----------------------------------------------------|
|
||||
| default | `myprogram cleanup -- <FQDN> <record>` |
|
||||
| default | `myprogram cleanup <FQDN> <record>` |
|
||||
| `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:
|
||||
|
||||
```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
|
||||
|
@ -84,14 +84,14 @@ you can use the `--` delimiter to specify the start of positional arguments, and
|
|||
|
||||
| Mode | Command |
|
||||
|---------|----------------------------------------------------|
|
||||
| default | `myprogram present -- <FQDN> <record>` |
|
||||
| default | `myprogram present <FQDN> <record>` |
|
||||
| `RAW` | `myprogram present -- <domain> <token> <key_auth>` |
|
||||
|
||||
### Cleanup
|
||||
|
||||
| Mode | Command |
|
||||
|---------|----------------------------------------------------|
|
||||
| default | `myprogram cleanup -- <FQDN> <record>` |
|
||||
| default | `myprogram cleanup <FQDN> <record>` |
|
||||
| `RAW` | `myprogram cleanup -- <domain> <token> <key_auth>` |
|
||||
|
||||
'''
|
||||
|
|
Loading…
Reference in a new issue