Improve amtool check-config use and description text (#1016)

This commit is contained in:
Jose Donizetti 2017-10-02 06:22:04 -03:00 committed by stuart nelson
parent 9f5f4b2a51
commit fe390bc28a
1 changed files with 3 additions and 3 deletions

View File

@ -10,10 +10,10 @@ import (
// alertCmd represents the alert command // alertCmd represents the alert command
var checkConfigCmd = &cobra.Command{ var checkConfigCmd = &cobra.Command{
Use: "check-config", Use: "check-config file1 [file2] ...",
Args: cobra.MinimumNArgs(1), Args: cobra.MinimumNArgs(1),
Short: "Validate configuration files for correctness", Short: "Validate alertmanager config files",
Long: `Validate configuration files for correctness Long: `Validate alertmanager config files
Will validate the syntax and schema for alertmanager config file Will validate the syntax and schema for alertmanager config file
and associated templates. Non existing templates will not trigger and associated templates. Non existing templates will not trigger