Improve amtool check-config use and description text (#1016)
This commit is contained in:
parent
9f5f4b2a51
commit
fe390bc28a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue