CLI: Remove redundant Cmd prefix from commands

This commit is contained in:
Jason Wilder
2015-02-15 11:30:35 -07:00
parent 90cd10e034
commit ca4124940a
4 changed files with 7 additions and 7 deletions

View File

@ -31,8 +31,8 @@ func main() {
app.Name = "Grafana Backend"
app.Usage = "grafana web"
app.Version = version
app.Commands = []cli.Command{cmd.CmdWeb, cmd.CmdImportJson,
cmd.CmdListAccounts, cmd.CmdCreateAccount, cmd.CmdDeleteAccount}
app.Commands = []cli.Command{cmd.Web, cmd.ImportJson,
cmd.ListAccounts, cmd.CreateAccount, cmd.DeleteAccount}
app.Flags = append(app.Flags, []cli.Flag{}...)
app.Run(os.Args)