diff --git a/commands/prepare.go b/commands/prepare.go index ff664e43..76a346c4 100644 --- a/commands/prepare.go +++ b/commands/prepare.go @@ -96,7 +96,7 @@ func (p *PrepareCmd) SetFlags(f *flag.FlagSet) { &p.useUnattendedUpgrades, "use-unattended-upgrades", false, - "[Depricated] For Ubuntu, install unattended-upgrades", + "[Deprecated] For Ubuntu, install unattended-upgrades", ) } diff --git a/commands/scan.go b/commands/scan.go index 5df0167c..c637c1f0 100644 --- a/commands/scan.go +++ b/commands/scan.go @@ -137,14 +137,14 @@ func (p *ScanCmd) SetFlags(f *flag.FlagSet) { &p.useYumPluginSecurity, "use-yum-plugin-security", false, - "[Depricated] For CentOS 5. Scan by yum-plugin-security or not (use yum check-update by default)", + "[Deprecated] For CentOS 5. Scan by yum-plugin-security or not (use yum check-update by default)", ) f.BoolVar( &p.useUnattendedUpgrades, "use-unattended-upgrades", false, - "[Depricated] For Ubuntu. Scan by unattended-upgrades or not (use apt-get upgrade --dry-run by default)", + "[Deprecated] For Ubuntu. Scan by unattended-upgrades or not (use apt-get upgrade --dry-run by default)", ) } diff --git a/config/tomlloader.go b/config/tomlloader.go index 6b031f63..81471685 100644 --- a/config/tomlloader.go +++ b/config/tomlloader.go @@ -57,7 +57,7 @@ func (c TOMLLoader) Load(pathToToml, keyPass, sudoPass string) (err error) { for name, v := range conf.Servers { if 0 < len(v.KeyPassword) || 0 < len(v.Password) { - log.Warn("[Depricated] password and keypassword in config file are unsecure. Remove them immediately for a security reason. They will be removed in a future release.") + log.Warn("[Deprecated] password and keypassword in config file are unsecure. Remove them immediately for a security reason. They will be removed in a future release.") } s := ServerInfo{ServerName: name}