change target to name in config help (#2983)
This commit is contained in:
committed by
Nitish Tiwari
parent
da47ed8ac4
commit
543ea4bd90
@@ -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}}
|
||||
|
||||
@@ -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
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user