diff --git a/cmd/nuke.go b/cmd/nuke.go index d81ddff86..01232183f 100644 --- a/cmd/nuke.go +++ b/cmd/nuke.go @@ -173,7 +173,7 @@ func (n *Nuke) ValidateAccount() error { if !n.Config.HasBlacklist() { return fmt.Errorf("The config file contains an empty blacklist. " + "For safety reasons you need to specify at least one account ID. " + - "This should be you production account.") + "This should be your production account.") } if n.Config.InBlacklist(accountID) { @@ -189,7 +189,7 @@ func (n *Nuke) ValidateAccount() error { for _, alias := range aliases { if strings.Contains(strings.ToLower(*alias), "prod") { - return fmt.Errorf("You are trying to nuke a account with the alias '%s', "+ + return fmt.Errorf("You are trying to nuke an account with the alias '%s', "+ "but it has the substring 'prod' in it. Aborting.", *aliases[0]) } } diff --git a/cmd/root.go b/cmd/root.go index edc746bac..3243c55cf 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -53,7 +53,7 @@ func NewRootCommand() *cobra.Command { "limit nuking to certain resource types (eg IAMServerCertificate)") command.PersistentFlags().BoolVar( ¶ms.NoDryRun, "no-dry-run", false, - "actualy delete found resources") + "actually delete found resources") command.PersistentFlags().BoolVar( ¶ms.Force, "force", false, "don't ask for confirmation")