aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/dump.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/dump.go
parent35d49d3b34983cb6ae2b0931ddba8132e1f494c4 (diff)
downloadgitea-e030109b5af9015c018cdc6f18655e201f6008bf.tar.gz
gitea-e030109b5af9015c018cdc6f18655e201f6008bf.zip
fix api broken
Diffstat (limited to 'cmd/dump.go')
-rw-r--r--cmd/dump.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/dump.go b/cmd/dump.go
index 44b180c32b..0bf385d065 100644
--- a/cmd/dump.go
+++ b/cmd/dump.go
@@ -25,8 +25,8 @@ var CmdDump = cli.Command{
It can be used for backup and capture Gogs server image to send to maintainer`,
Action: runDump,
Flags: []cli.Flag{
- cli.StringFlag{"config, c", "custom/conf/app.ini", "Custom configuration file path", ""},
- cli.BoolFlag{"verbose, v", "show process details", ""},
+ stringFlag("config, c", "custom/conf/app.ini", "Custom configuration file path"),
+ boolFlag("verbose, v", "show process details"),
},
}