From eecd2c60f5d9afe6a0f61f1c1c01bc433c82bcbc Mon Sep 17 00:00:00 2001 From: Jody Frankowski Date: Wed, 11 May 2016 11:18:32 +0200 Subject: [PATCH] Fix a typo: replace Depricated by Deprecated. --- commands/prepare.go | 2 +- commands/scan.go | 4 ++-- config/tomlloader.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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 c586f722..6946318b 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}