Simplify usage string

Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in>
This commit is contained in:
Goutham Veeramachaneni 2017-06-16 15:55:13 +05:30
parent 507790a357
commit 6c1617fd13
No known key found for this signature in database
GPG key ID: F1C217E8E9023CAD

View file

@ -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())
}, },