diff options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/cert_stub.go | 9 |
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) { |