diff --git a/cmd/commands/wtclient.go b/cmd/commands/wtclient.go index 075861b981c..4e9822d70e0 100644 --- a/cmd/commands/wtclient.go +++ b/cmd/commands/wtclient.go @@ -376,15 +376,23 @@ func policy(ctx *cli.Context) error { } var sessionCommands = cli.Command{ - Name: "session", + Name: "session", + Usage: "Manage watchtower client sessions.", + Description: "This command allows users " + + "to manage their watchtower client sessions," + + "specifically to terminate an active session", Subcommands: []cli.Command{ terminateSessionCommand, }, } var terminateSessionCommand = cli.Command{ - Name: "terminate", - ArgsUsage: "id", + Name: "terminate", + Usage: "Terminate an active watchtower session.", + Description: "This command ends a session using " + + "its unique session ID. It stops further backups " + + "but does not affect past backup data", + ArgsUsage: "session_id", Action: actionDecorator(terminateSession), } diff --git a/docs/release-notes/release-notes-0.19.0.md b/docs/release-notes/release-notes-0.19.0.md index d974d89b5a7..4b17170e191 100644 --- a/docs/release-notes/release-notes-0.19.0.md +++ b/docs/release-notes/release-notes-0.19.0.md @@ -270,6 +270,11 @@ The underlying functionality between those two options remain the same. [1](https://github.com/lightningnetwork/lnd/pull/9476) [2](https://github.com/lightningnetwork/lnd/pull/9477) [3](https://github.com/lightningnetwork/lnd/pull/9478). + +* [Watchtower Client Commands](https://github.com/lightningnetwork/lnd/pull/9588): - +Added detailed descriptions for the session and terminate commands in lncli wtclient. +The session command now explains its purpose and how it manages watchtower sessions. +The terminate command provides clear guidance on terminating an active session by specifying its unique session ID. ## Breaking Changes ## Performance Improvements