summaryrefslogtreecommitdiffstats
path: root/cmd/web.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-11-15 17:07:44 -0500
committerUnknwon <u@gogs.io>2015-11-15 17:07:44 -0500
commite030109b5af9015c018cdc6f18655e201f6008bf (patch)
tree700c4255054e4e261ce25f3c0deaa81778d74a84 /cmd/web.go
parent35d49d3b34983cb6ae2b0931ddba8132e1f494c4 (diff)
downloadgitea-e030109b5af9015c018cdc6f18655e201f6008bf.tar.gz
gitea-e030109b5af9015c018cdc6f18655e201f6008bf.zip
fix api broken
Diffstat (limited to 'cmd/web.go')
-rw-r--r--cmd/web.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/web.go b/cmd/web.go
index 950c3d48cf..dabea0ba5a 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -56,8 +56,8 @@ var CmdWeb = cli.Command{
and it takes care of all the other things for you`,
Action: runWeb,
Flags: []cli.Flag{
- cli.StringFlag{"port, p", "3000", "Temporary port number to prevent conflict", ""},
- cli.StringFlag{"config, c", "custom/conf/app.ini", "Custom configuration file path", ""},
+ stringFlag("port, p", "3000", "Temporary port number to prevent conflict"),
+ stringFlag("config, c", "custom/conf/app.ini", "Custom configuration file path"),
},
}