Skip to content

Commit b12c047

Browse files
authored
Merge pull request #351 from hazelmayank/docs/logout-help-example
docs(logout): include required context in help example
2 parents b892bbb + 8706efd commit b12c047

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

cmd/logout.go

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,11 @@ func NewLogoutCommand(globalClientOpts *connectors.ClientOptions) *cobra.Command
1717
Use: "logout CONTEXT",
1818
Short: "Log out from Microcks",
1919
Long: "Log out from Microcks",
20-
Example: `# To log out of Microcks
21-
$ microcks logout`,
20+
Example: `# Log out from a Microcks server URL
21+
microcks logout http://localhost:8080
22+
23+
# Log out from a named context
24+
microcks logout dev-context`,
2225

2326
Run: func(cmd *cobra.Command, args []string) {
2427
if len(args) == 0 {

0 commit comments

Comments
 (0)