Simplify usage string
Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in>
This commit is contained in:
parent
507790a357
commit
6c1617fd13
|
@ -62,8 +62,7 @@ func init() {
|
||||||
func newRootCmd() *cobra.Command {
|
func newRootCmd() *cobra.Command {
|
||||||
rootCmd := &cobra.Command{
|
rootCmd := &cobra.Command{
|
||||||
Use: "prometheus",
|
Use: "prometheus",
|
||||||
Short: "./prometheus --config.file=\"prometheus.yaml\"",
|
Short: "prometheus --config.file=prometheus.yaml",
|
||||||
//Long: usage(),
|
|
||||||
Run: func(cmd *cobra.Command, args []string) {
|
Run: func(cmd *cobra.Command, args []string) {
|
||||||
os.Exit(Main())
|
os.Exit(Main())
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue