summaryrefslogtreecommitdiffstats
path: root/cmd/cert_stub.go
diff options
context:
space:
mode:
authorMatthias Loibl <mail@matthiasloibl.com>2016-11-09 23:18:22 +0100
committerMatthias Loibl <mail@matthiasloibl.com>2016-11-09 23:18:22 +0100
commit5cd093aa467ada0017f9056163346f419c0fa546 (patch)
treeb8055aad9a6554b6f71fcbd9909fd3bb668b0e2c /cmd/cert_stub.go
parent475ddd8d8922b829a39189de7db4b6257938d81c (diff)
downloadgitea-5cd093aa467ada0017f9056163346f419c0fa546.tar.gz
gitea-5cd093aa467ada0017f9056163346f419c0fa546.zip
Use cli Flags directly and not some helper funcs
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
Diffstat (limited to 'cmd/cert_stub.go')
-rw-r--r--cmd/cert_stub.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/cert_stub.go b/cmd/cert_stub.go
index a97a497e1f..75536f5a7c 100644
--- a/cmd/cert_stub.go
+++ b/cmd/cert_stub.go
@@ -22,7 +22,7 @@ var CmdCert = cli.Command{
Action: runCert,
}
-func runCert(ctx *cli.Context) error {
+func runCert(*cli.Context) error {
fmt.Println("Command cert not available, please use build tags 'cert' to rebuild.")
os.Exit(1)