Skip to content

Commit ff1e07c

Browse files
authored
Update wtclient.go
wtclient: Add descriptions for session and terminate commands - Added detailed descriptions for the watchtower client session and terminate commands to improve user guidance. - Fixed formatting issues as per linter requirements. - Updated release notes for version 0.19.0. Fixes #9583
1 parent 72b5703 commit ff1e07c

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Diff for: cmd/commands/wtclient.go

+8-1
Original file line numberDiff line numberDiff line change
@@ -376,14 +376,21 @@ func policy(ctx *cli.Context) error {
376376
}
377377

378378
var sessionCommands = cli.Command{
379-
Name: "session",
379+
Name: "session",
380+
Usage: "Manage watchtower client sessions.",
381+
Description: "This command allows users to interact with their watchtower " +
382+
"client sessions, including listing and terminating active sessions.",
380383
Subcommands: []cli.Command{
381384
terminateSessionCommand,
382385
},
383386
}
384387

385388
var terminateSessionCommand = cli.Command{
386389
Name: "terminate",
390+
Usage: "Terminate an active watchtower session.",
391+
Description: "This command terminates an active session identified by its " +
392+
"unique session ID. Terminating a session prevents it from being used " +
393+
"for further backups but does not remove past backup data.",
387394
ArgsUsage: "id",
388395
Action: actionDecorator(terminateSession),
389396
}

0 commit comments

Comments
 (0)