cmd/wtclient: add usage info for session and terminate commands
This commit is contained in:
1 parent
e54206f8c2
commit
0324902ea8
1 file changed
+3
-1
@@ -376,7 +376,8 @@ 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