Skip to content

cmd/wtclient: Enhance help text for session and terminate subcommands #9765

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions cmd/commands/wtclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -377,13 +377,19 @@ func policy(ctx *cli.Context) error {

var sessionCommands = cli.Command{
Name: "session",
Usage: "Manage watchtower client sessions.",
Description: "Manage sessions with the watchtower client, including " +
"terminating sessions.",
Subcommands: []cli.Command{
terminateSessionCommand,
},
}

var terminateSessionCommand = cli.Command{
Name: "terminate",
Usage: "Terminate a watchtower client session.",
Description: "Terminate an active session with the watchtower " +
"client by ID.",
ArgsUsage: "id",
Action: actionDecorator(terminateSession),
}
Expand Down
8 changes: 8 additions & 0 deletions docs/release-notes/release-notes-0.19.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,14 @@ selected use postgres for the neutrino.db store](https://github.com/lightningnet
- [Fixed a few misspellings](https://github.com/lightningnetwork/lnd/pull/9290)
of "broadcast" in the code base, specifically the `lncli peers updatenodeannouncement`
command documentation.

* [Add usage and desc to wtclient session
cmd](https://github.com/lightningnetwork/lnd/pull/9765):
Enhanced documentation for the `session` and `terminate` commands in
`lncli wtclient`. The `session` command now includes a comprehensive
explanation of its role in managing watchtower client sessions. The
`terminate` command offers clear instructions for ending an active
session using its unique session ID.

# Contributors (Alphabetical Order)

Expand Down
Loading