浏览代码

Small update to commands

Torkel Ödegaard 10 年之前
父节点
当前提交
a8c90e2365
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 2 2
      pkg/cmd/datasource.go
  2. 1 1
      pkg/cmd/web.go

+ 2 - 2
pkg/cmd/datasource.go

@@ -54,13 +54,13 @@ var (
 		},
 	}
 	DescribeDataSource = cli.Command{
-		Name:        "datasource:info",
+		Name:        "datasources:info",
 		Usage:       "describe the details of a datasource",
 		Description: "Describes the details of a datasource",
 		Action:      describeDataSource,
 	}
 	DeleteDataSource = cli.Command{
-		Name:        "datasource:delete",
+		Name:        "datasources:delete",
 		Usage:       "Deletes a datasource",
 		Description: "Deletes a datasource",
 		Action:      deleteDataSource,

+ 1 - 1
pkg/cmd/web.go

@@ -23,7 +23,7 @@ import (
 
 var Web = cli.Command{
 	Name:        "web",
-	Usage:       "grafana web",
+	Usage:       "Starts Grafana backend & web server",
 	Description: "Starts Grafana backend & web server",
 	Action:      runWeb,
 }