aboutsummaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2020-01-11 22:24:57 +0800
committerAntoine GIRARD <sapk@users.noreply.github.com>2020-01-11 15:24:57 +0100
commitf69f5a9f105f655c931b29a57f9ffb257b7edf7c (patch)
tree35f16feba0d18fcaaa10de86623e307289348aa2 /main.go
parentf2e6c4538e83f267a1b1f2abaaf38cd99c6dd0a5 (diff)
downloadgitea-f69f5a9f105f655c931b29a57f9ffb257b7edf7c.tar.gz
gitea-f69f5a9f105f655c931b29a57f9ffb257b7edf7c.zip
Add a new command doctor to check if some wrong configurations on gitea instance (#9095)
* add doctor * Add a new command doctor to check if some wrong configurations on gitea instance * fix import * use regex match authorized_keys on doctor * Add documentation
Diffstat (limited to 'main.go')
-rw-r--r--main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.go b/main.go
index 30dbf27662..c67eaf7692 100644
--- a/main.go
+++ b/main.go
@@ -68,6 +68,7 @@ arguments - which can alternatively be run by running the subcommand web.`
cmd.CmdMigrate,
cmd.CmdKeys,
cmd.CmdConvert,
+ cmd.CmdDoctor,
}
// Now adjust these commands to add our global configuration options