File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ import (
28
28
// logoutCmd represents the logout command
29
29
var logoutCmd = & cobra.Command {
30
30
Use : "logout" ,
31
- Short : "Removes the credentials file '$HOME/.keyfactor/command_config.json' ." ,
32
- Long : `Removes the credentials file '$HOME/.keyfactor/command_config.json' .` ,
31
+ Short : "Unsets environment variables and removes the stored credentials file." ,
32
+ Long : `Unsets environment variables and removes the stored credentials file.` ,
33
33
RunE : func (cmd * cobra.Command , args []string ) error {
34
34
log .Info ().Msg ("Running logout command" )
35
35
cmd .SilenceUsage = true
@@ -75,7 +75,7 @@ var logoutCmd = &cobra.Command{
75
75
if os .IsNotExist (err ) {
76
76
log .Error ().
77
77
Err (err ).
78
- Msg ("Config file does not exist, unable to logout. " )
78
+ Msg ("config file does not exist, unable to logout" )
79
79
fmt .Println ("Config file does not exist, unable to logout." )
80
80
return err
81
81
}
You can’t perform that action at this time.
0 commit comments