Skip to content

Commit d6832ba

Browse files
committed
cmd: add usage and desc to wtclient session
Update wtclient.go
1 parent 7e50b84 commit d6832ba

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cmd/commands/wtclient.go

+4
Original file line numberDiff line numberDiff line change
@@ -377,13 +377,17 @@ func policy(ctx *cli.Context) error {
377377

378378
var sessionCommands = cli.Command{
379379
Name: "session",
380+
Usage: "Manage watchtower client sessions.",
381+
Description: "Manage sessions with the watchtower client, including terminating sessions.",
380382
Subcommands: []cli.Command{
381383
terminateSessionCommand,
382384
},
383385
}
384386

385387
var terminateSessionCommand = cli.Command{
386388
Name: "terminate",
389+
Usage: "Terminate a watchtower client session.",
390+
Description: "Terminate an active session with the watchtower client by ID.",
387391
ArgsUsage: "id",
388392
Action: actionDecorator(terminateSession),
389393
}

0 commit comments

Comments
 (0)