mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-04 10:42:25 +02:00
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