diff --git a/src/cmd/init.go b/src/cmd/init.go index ef3cb17..8b65838 100644 --- a/src/cmd/init.go +++ b/src/cmd/init.go @@ -35,6 +35,6 @@ var initCmd = &cobra.Command{ } func init() { - initCmd.Flags().BoolP("defaults", "d", false, "Create a an ahkpm.json file with default values. No prompts.") + initCmd.Flags().BoolP("defaults", "d", false, "Create an ahkpm.json file with default values. No prompts.") RootCmd.AddCommand(initCmd) } diff --git a/src/core/initializer.go b/src/core/initializer.go index ce947f5..f0dfdbd 100644 --- a/src/core/initializer.go +++ b/src/core/initializer.go @@ -73,11 +73,11 @@ func (i Initializer) InitInteractively() { ) licenseList := data.GetSpdxLicenseIds() - licenseList = append(licenseList, "UNLICENSED") + licenseList = append(licenseList, "NO LICENSE") manifest.License = showPrompt( "What license is the package released under? (MIT, Apache, etc.)\n"+ "See https://spdx.org/licenses/ for a list of valid license IDs.\n"+ - "If you do not wish to license the package, enter \"UNLICENSED\".", + "If you do not wish to license the package, enter \"NO LICENSE\".", buildValidatorFromList(licenseList), prompt.OptionInitialBufferText(manifest.License), )