mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-26 13:42:49 +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:
@@ -376,7 +376,8 @@ func policy(ctx *cli.Context) error {
|
||||
}
|
||||
|
||||
var sessionCommands = cli.Command{
|
||||
Name: "session",
|
||||
Name: "session",
|
||||
Usage: "Interact with watchtower client sessions.",
|
||||
Subcommands: []cli.Command{
|
||||
terminateSessionCommand,
|
||||
},
|
||||
@@ -384,6 +385,7 @@ var sessionCommands = cli.Command{
|
||||
|
||||
var terminateSessionCommand = cli.Command{
|
||||
Name: "terminate",
|
||||
Usage: "Terminate a watchtower client session.",
|
||||
ArgsUsage: "id",
|
||||
Action: actionDecorator(terminateSession),
|
||||
}
|
||||
|
Reference in New Issue
Block a user