From 854e5250c672c002bd5362c1312325e4abe5ca89 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Fri, 24 Nov 2023 15:42:56 +0530 Subject: shortened the wrong client id message --- auth/client.go | 4 +--- 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" + -- cgit v1.2.3