From 702cd05923949b1b6eb1c2a144d5bcd6d0087f47 Mon Sep 17 00:00:00 2001 From: Lyle Douglass Date: Thu, 6 Jun 2024 08:17:53 -0400 Subject: [PATCH] fix: change addonCopy flags to all lowercase --- main.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/main.go b/main.go index 2b42eef..ace6e58 100644 --- a/main.go +++ b/main.go @@ -20,8 +20,8 @@ func main() { help bool versionFlag bool wtfzip string - wowVersion string - addonName string + wowversion string + addonname string ) util.LoadConfig(".") @@ -90,7 +90,7 @@ func main() { Short: "Copy Addon data from Retail", Run: func(cmd *cobra.Command, args []string) { util.SetupLogger(logging) - internal.CopyAddonData(wowVersion, addonName) + internal.CopyAddonData(wowversion, addonname) }, } @@ -113,8 +113,8 @@ func main() { // addonCopyCmd Flags addonCopyCmd.Flags().StringVarP(&logging, "logging", "l", "info", "Enables logging. Options are: trace, debug, info, warn, error, fatal, panic") addonCopyCmd.Flags().BoolVarP(&help, "help", "h", false, "Displays useful information") - addonCopyCmd.Flags().StringVarP(&wowVersion, "wowVersion", "w", "", "The version of WoW to copy the addon data to") - addonCopyCmd.Flags().StringVarP(&addonName, "addonName", "a", "", "The name of the addon to copy") + addonCopyCmd.Flags().StringVarP(&wowversion, "wowVersion", "w", "", "The version of WoW to copy the addon data to") + addonCopyCmd.Flags().StringVarP(&addonname, "addonName", "a", "", "The name of the addon to copy") // rootCmd Flags rootCmd.Flags().BoolVarP(&help, "help", "h", false, "Displays useful information")