aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/admin.go2
-rw-r--r--cmd/cert.go4
-rw-r--r--cmd/cert_stub.go2
-rw-r--r--cmd/dump.go2
-rw-r--r--cmd/hook.go2
-rw-r--r--cmd/import.go2
-rw-r--r--cmd/web.go2
7 files changed, 8 insertions, 8 deletions
diff --git a/cmd/admin.go b/cmd/admin.go
index bad36b1c..58e82f5f 100644
--- a/cmd/admin.go
+++ b/cmd/admin.go
@@ -14,7 +14,7 @@ import (
)
var (
- CmdAdmin = cli.Command{
+ Admin = cli.Command{
Name: "admin",
Usage: "Preform admin operations on command line",
Description: `Allow using internal logic of Gogs without hacking into the source code
diff --git a/cmd/cert.go b/cmd/cert.go
index 6cd5bfad..7c91c2c6 100644
--- a/cmd/cert.go
+++ b/cmd/cert.go
@@ -25,10 +25,10 @@ import (
"github.com/urfave/cli"
)
-var CmdCert = cli.Command{
+var Cert = cli.Command{
Name: "cert",
Usage: "Generate self-signed certificate",
- Description: `Generate a self-signed X.509 certificate for a TLS server.
+ 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,
Flags: []cli.Flag{
diff --git a/cmd/cert_stub.go b/cmd/cert_stub.go
index 1c076f64..6164c83e 100644
--- a/cmd/cert_stub.go
+++ b/cmd/cert_stub.go
@@ -13,7 +13,7 @@ import (
"github.com/urfave/cli"
)
-var CmdCert = cli.Command{
+var Cert = cli.Command{
Name: "cert",
Usage: "Generate self-signed certificate",
Description: `Please use build tags "cert" to rebuild Gogs in order to have this ability`,
diff --git a/cmd/dump.go b/cmd/dump.go
index 2a243e41..972a825b 100644
--- a/cmd/dump.go
+++ b/cmd/dump.go
@@ -21,7 +21,7 @@ import (
"github.com/gogits/gogs/modules/setting"
)
-var CmdDump = cli.Command{
+var Dump = cli.Command{
Name: "dump",
Usage: "Dump Gogs files and database",
Description: `Dump compresses all related files and database into zip file.
diff --git a/cmd/hook.go b/cmd/hook.go
index 32461745..fede8649 100644
--- a/cmd/hook.go
+++ b/cmd/hook.go
@@ -27,7 +27,7 @@ import (
)
var (
- CmdHook = cli.Command{
+ Hook = cli.Command{
Name: "hook",
Usage: "Delegate commands to corresponding Git hooks",
Description: "All sub-commands should only be called by Git",
diff --git a/cmd/import.go b/cmd/import.go
index e575736a..f71e4b18 100644
--- a/cmd/import.go
+++ b/cmd/import.go
@@ -19,7 +19,7 @@ import (
)
var (
- CmdImport = cli.Command{
+ Import = cli.Command{
Name: "import",
Usage: "Import portable data as local Gogs data",
Description: `Allow user import data from other Gogs installations to local instance
diff --git a/cmd/web.go b/cmd/web.go
index e9b2d840..1c0eea61 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -49,7 +49,7 @@ import (
"github.com/gogits/gogs/routers/user"
)
-var CmdWeb = cli.Command{
+var Web = cli.Command{
Name: "web",
Usage: "Start Gogs web server",
Description: `Gogs web server is the only thing you need to run,