diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-11-24 15:42:56 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-11-24 15:42:56 +0530 |
commit | 854e5250c672c002bd5362c1312325e4abe5ca89 (patch) | |
tree | 88546261584e7f48d252203ec991c603d2f5cfc2 | |
parent | f130a68f94c103c1d1d4d1c1804c8ebd85709ac7 (diff) |
shortened the wrong client id messagev1.20.6
-rw-r--r-- | auth/client.go | 4 | ||||
-rw-r--r-- | cmd/root.go | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/auth/client.go b/auth/client.go index 5a3e501..1e504c5 100644 --- a/auth/client.go +++ b/auth/client.go @@ -104,9 +104,7 @@ func validateClientId(clientId string) { /* I'm not sure if ALL client IDs are 32 characters * but that's most likely the case */ if len(clientId) != 32 { - fmt.Println("\x1b[33mWarning:\x1b[0m The Client ID you have entered doesn't have 32 characters.") - fmt.Println("It's not confirmed but MyAnimeList Client IDs have 32 characters. If you think this is a mistake, you can manually verify your Client ID.") - fmt.Println("macli doesn't have a way to verify a Client ID. If you think you entered it correctly you can move on with the login process. If you have problems do consider re-entering the Client ID.") + fmt.Println("\x1b[33mWarning:\x1b[0m The Client ID you have entered has failed the validity check.") if confirmInput("Show entered Client ID? [Y/n] ", true) { fmt.Println("The Client ID you just entered:", clientId) diff --git a/cmd/root.go b/cmd/root.go index d1069cf..cd69cb2 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -34,7 +34,7 @@ var ( var rootCmd = &cobra.Command{ Use: "macli", - Version: "v1.20.5" + " " + runtime.GOOS + "/" + runtime.GOARCH, + Version: "v1.20.6" + " " + runtime.GOOS + "/" + runtime.GOARCH, Short: "macli - Unofficial CLI-Based MyAnimeList Client.", Long: "macli is an unofficial MyAnimeClient for use inside the terminal.\n" + |