aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/update.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/update.go
parent35d49d3b34983cb6ae2b0931ddba8132e1f494c4 (diff)
downloadgitea-e030109b5af9015c018cdc6f18655e201f6008bf.tar.gz
gitea-e030109b5af9015c018cdc6f18655e201f6008bf.zip
fix api broken
Diffstat (limited to 'cmd/update.go')
-rw-r--r--cmd/update.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/update.go b/cmd/update.go
index 289aedbf61..4cd62a7f54 100644
--- a/cmd/update.go
+++ b/cmd/update.go
@@ -20,7 +20,7 @@ var CmdUpdate = cli.Command{
Description: `Update get pushed info and insert into database`,
Action: runUpdate,
Flags: []cli.Flag{
- cli.StringFlag{"config, c", "custom/conf/app.ini", "Custom configuration file path", ""},
+ stringFlag("config, c", "custom/conf/app.ini", "Custom configuration file path"),
},
}