浏览代码

feat(cli): improve helptext for cli

bergquist 9 年之前
父节点
当前提交
eeb7524c0f
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      pkg/cmd/grafana-cli/commands/commands.go

+ 4 - 4
pkg/cmd/grafana-cli/commands/commands.go

@@ -25,7 +25,7 @@ func runCommand(command func(commandLine CommandLine) error) func(context *cli.C
 var pluginCommands = []cli.Command{
 	{
 		Name:   "install",
-		Usage:  "install <plugin name>",
+		Usage:  "install <plugin id>",
 		Action: runCommand(installCommand),
 	}, {
 		Name:   "list-remote",
@@ -33,7 +33,7 @@ var pluginCommands = []cli.Command{
 		Action: runCommand(listremoteCommand),
 	}, {
 		Name:   "upgrade",
-		Usage:  "upgrade <plugin name>",
+		Usage:  "upgrade <plugin id>",
 		Action: runCommand(upgradeCommand),
 	}, {
 		Name:   "upgrade-all",
@@ -45,11 +45,11 @@ var pluginCommands = []cli.Command{
 		Action: runCommand(lsCommand),
 	}, {
 		Name:   "uninstall",
-		Usage:  "uninstall <plugin name>",
+		Usage:  "uninstall <plugin id>",
 		Action: runCommand(removeCommand),
 	}, {
 		Name:   "remove",
-		Usage:  "remove <plugin name>",
+		Usage:  "remove <plugin id>",
 		Action: runCommand(removeCommand),
 	},
 }