diff --git a/docs/loop/loop.1 b/docs/loop/loop.1 index 26f346e5..cb10febf 100644 --- a/docs/loop/loop.1 +++ b/docs/loop/loop.1 @@ -431,6 +431,16 @@ list all instant out swaps .PP \fB--help, -h\fP: show help +.SH stop +.PP +stop the loop daemon + +.PP +\fB--help, -h\fP: show help + +.PP +\fB--wait\fP: wait until loopd fully shuts down + .SH static, s .PP perform on-chain to off-chain swaps using static addresses. diff --git a/docs/loop/loop.md b/docs/loop/loop.md index 3908eed0..e01f96d6 100644 --- a/docs/loop/loop.md +++ b/docs/loop/loop.md @@ -468,6 +468,25 @@ The following flags are supported: |-----------------|-------------|------|:-------------:| | `--help` (`-h`) | show help | bool | `false` | +### `stop` command + +stop the loop daemon. + +Requests loopd to perform a graceful shutdown. + +Usage: + +```bash +$ loop [GLOBAL FLAGS] stop [COMMAND FLAGS] [ARGUMENTS...] +``` + +The following flags are supported: + +| Name | Description | Type | Default value | +|-----------------|-----------------------------------|------|:-------------:| +| `--wait` | wait until loopd fully shuts down | bool | `false` | +| `--help` (`-h`) | show help | bool | `false` | + ### `static` command (aliases: `s`) perform on-chain to off-chain swaps using static addresses.