From ea765d25e21a5e2ff67ff39891962f5f23facda8 Mon Sep 17 00:00:00 2001 From: Unknown Date: Thu, 13 Mar 2014 02:09:36 -0400 Subject: Update action struct --- web.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'web.go') diff --git a/web.go b/web.go index 8e5bbaef..9b7eff88 100644 --- a/web.go +++ b/web.go @@ -30,10 +30,7 @@ var CmdWeb = cli.Command{ Description: ` gogs web`, Action: runWeb, - Flags: []cli.Flag{ - //cli.BoolFlag{"update, u", "update pakcage(s) and dependencies if any"}, - //cli.BoolFlag{"verbose, v", "show process details"}, - }, + Flags: []cli.Flag{}, } var AppHelpers template.FuncMap = map[string]interface{}{ @@ -78,8 +75,6 @@ func runWeb(*cli.Context) { //m.Get("/:username/:reponame", repo.Repo) - //m.Get("/:username/:reponame", repo.Repo) - listenAddr := fmt.Sprintf("%s:%s", base.Cfg.MustValue("server", "HTTP_ADDR"), base.Cfg.MustValue("server", "HTTP_PORT", "3000")) -- cgit v1.2.3