summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-12-15 19:42:20 -0500
committerUnknwon <u@gogs.io>2015-12-15 19:42:20 -0500
commit8ecbf0f16d90ad63a3c3ddc856df7b76aa0c328f (patch)
tree784ec2f61fb334ca7aa0b295d5255450b032d78d /cmd
parentb13caa23d90e0208c54828cdfae15b28e5fc84d3 (diff)
downloadgitea-8ecbf0f16d90ad63a3c3ddc856df7b76aa0c328f.tar.gz
gitea-8ecbf0f16d90ad63a3c3ddc856df7b76aa0c328f.zip
fix #2204
Diffstat (limited to 'cmd')
-rw-r--r--cmd/cert_stub.go9
1 files changed, 4 insertions, 5 deletions
diff --git a/cmd/cert_stub.go b/cmd/cert_stub.go
index 1b68ca83f1..f848e246c6 100644
--- a/cmd/cert_stub.go
+++ b/cmd/cert_stub.go
@@ -14,11 +14,10 @@ import (
)
var CmdCert = cli.Command{
- Name: "cert",
- Usage: "Generate self-signed certificate",
- Description: `Generate a self-signed X.509 certificate for a TLS server.
-Outputs to 'cert.pem' and 'key.pem' and will overwrite existing files.`,
- Action: runCert,
+ Name: "cert",
+ Usage: "Generate self-signed certificate",
+ Description: `Please use build tags "cert" to rebuild Gogs in order to have this ability`,
+ Action: runCert,
}
func runCert(ctx *cli.Context) {