mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-07 11:22:10 +02:00
Merge pull request #10014 from GustavoStingelin/issue-9583-missing-wt-cli-usage
cmd/wtclient: add usage info for session and terminate commands
This commit is contained in:
@@ -377,6 +377,7 @@ func policy(ctx *cli.Context) error {
|
|||||||
|
|
||||||
var sessionCommands = cli.Command{
|
var sessionCommands = cli.Command{
|
||||||
Name: "session",
|
Name: "session",
|
||||||
|
Usage: "Interact with watchtower client sessions.",
|
||||||
Subcommands: []cli.Command{
|
Subcommands: []cli.Command{
|
||||||
terminateSessionCommand,
|
terminateSessionCommand,
|
||||||
},
|
},
|
||||||
@@ -384,6 +385,7 @@ var sessionCommands = cli.Command{
|
|||||||
|
|
||||||
var terminateSessionCommand = cli.Command{
|
var terminateSessionCommand = cli.Command{
|
||||||
Name: "terminate",
|
Name: "terminate",
|
||||||
|
Usage: "Terminate a watchtower client session.",
|
||||||
ArgsUsage: "id",
|
ArgsUsage: "id",
|
||||||
Action: actionDecorator(terminateSession),
|
Action: actionDecorator(terminateSession),
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user