forked from mirror/gitea
478f36a538
In #25959 I forgot to add default values to some Bool flags (which were BoolT in cli/v1, BoolT means default to be true) This PR adds the default "Value" for them. ``` ./cmd/manager_logging.go: }, cli.BoolTFlag{ ./cmd/manager_logging.go- Name: "rotate, r", ./cmd/manager_logging.go- Usage: "Rotate logs", -- ./cmd/manager_logging.go: }, cli.BoolTFlag{ ./cmd/manager_logging.go- Name: "daily, d", ./cmd/manager_logging.go- Usage: "Rotate logs daily", -- ./cmd/manager_logging.go: }, cli.BoolTFlag{ ./cmd/manager_logging.go- Name: "compress, z", ./cmd/manager_logging.go- Usage: "Compress rotated logs", -- ./cmd/admin.go: cli.BoolTFlag{ ./cmd/admin.go- Name: "force-smtps", ./cmd/admin.go- Usage: "SMTPS is always used on port 465. Set this to force SMTPS on other ports.", -- ./cmd/admin.go: cli.BoolTFlag{ ./cmd/admin.go- Name: "skip-verify", ./cmd/admin.go- Usage: "Skip TLS verify.", -- ./cmd/admin.go: cli.BoolTFlag{ ./cmd/admin.go- Name: "disable-helo", ./cmd/admin.go- Usage: "Disable SMTP helo.", -- ./cmd/admin.go: cli.BoolTFlag{ ./cmd/admin.go- Name: "skip-local-2fa", ./cmd/admin.go- Usage: "Skip 2FA to log on.", -- ./cmd/admin.go: cli.BoolTFlag{ ./cmd/admin.go- Name: "active", ./cmd/admin.go- Usage: "This Authentication Source is Activated.", ``` |
||
---|---|---|
.. | ||
actions.go | ||
admin_auth_ldap_test.go | ||
admin_auth_ldap.go | ||
admin_user_change_password.go | ||
admin_user_create.go | ||
admin_user_delete.go | ||
admin_user_generate_access_token.go | ||
admin_user_list.go | ||
admin_user_must_change_password.go | ||
admin_user.go | ||
admin.go | ||
cert.go | ||
cmd.go | ||
convert.go | ||
docs.go | ||
doctor.go | ||
dump_repo.go | ||
dump.go | ||
embedded.go | ||
generate.go | ||
hook_test.go | ||
hook.go | ||
keys.go | ||
mailer.go | ||
main_test.go | ||
main.go | ||
manager_logging.go | ||
manager.go | ||
migrate_storage_test.go | ||
migrate_storage.go | ||
migrate.go | ||
restore_repo.go | ||
serv.go | ||
web_acme.go | ||
web_graceful.go | ||
web_https.go | ||
web.go |