Improve documentation

This commit is contained in:
Xiaonan Shen
2022-05-29 17:08:33 +08:00
parent aef8462674
commit 199df4b925
6 changed files with 98 additions and 18 deletions

View File

@@ -104,7 +104,7 @@ func (f *frontendCLI) loginWithEnv() {
return
}
logrus.Infof("Account %s was added successfully.\n", user.Username())
if strings.ToLower(os.Getenv("PROTON_PRINT_ACCOUNT_INFO")) != "off" {
if strings.ToLower(os.Getenv("PROTON_PRINT_ACCOUNT_INFO")) != "false" {
f.printAccountInfo(os.Stdout, user)
}
}