change target to name in config help (#2983)

This commit is contained in:
Harshavardhana
2019-12-07 10:05:32 +05:30
committed by Nitish Tiwari
parent da47ed8ac4
commit 543ea4bd90
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ import (
// HelpTmpl template used by all sub-systems
const HelpTmpl = `{{if ne .SubSys ""}}{{colorBlueBold "KEY:"}}
{{if .MultipleTargets}}{{colorYellowBold .SubSys}}[:target]{{"\t"}}{{else}}{{colorYellowBold .SubSys}}{{"\t"}}{{end}}{{.Description}}
{{if .MultipleTargets}}{{colorYellowBold .SubSys}}[:name]{{"\t"}}{{else}}{{colorYellowBold .SubSys}}{{"\t"}}{{end}}{{.Description}}
{{colorBlueBold "ARGS:"}}{{range .KeysHelp}}
{{if .Optional}}{{colorYellowBold .Key}}{{else}}{{colorRedBold .Key}}*{{end}}{{"\t"}}({{.Type}}){{"\t"}}{{.Description}}{{end}}{{else}}{{colorBlueBold "KEYS:"}}{{range .KeysHelp}}
+2 -2
View File
@@ -50,8 +50,8 @@ FLAGS:
{{range .VisibleFlags}}{{.}}
{{end}}
EXAMPLES:
1. Remove MQTT notifcation target 'target1' on MinIO server.
{{.Prompt}} {{.HelpName}} myminio/ notify_mqtt:target1
1. Reset MQTT notifcation target 'name1' settings to default values.
{{.Prompt}} {{.HelpName}} myminio/ notify_mqtt:name1
`,
}