Fix a typo: replace Depricated by Deprecated.

This commit is contained in:
Jody Frankowski
2016-05-11 11:18:32 +02:00
parent da071cb120
commit eecd2c60f5
3 changed files with 4 additions and 4 deletions

View File

@@ -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",
)
}

View File

@@ -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)",
)
}

View File

@@ -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}