diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2020-01-11 22:24:57 +0800 |
---|---|---|
committer | Antoine GIRARD <sapk@users.noreply.github.com> | 2020-01-11 15:24:57 +0100 |
commit | f69f5a9f105f655c931b29a57f9ffb257b7edf7c (patch) | |
tree | 35f16feba0d18fcaaa10de86623e307289348aa2 /main.go | |
parent | f2e6c4538e83f267a1b1f2abaaf38cd99c6dd0a5 (diff) | |
download | gitea-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.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |