fix bug and add update dat file

This commit is contained in:
233boy
2024-06-10 16:11:33 +08:00
parent 4d1279d038
commit f75e3f1187
9 changed files with 74 additions and 32 deletions

View File

@@ -48,16 +48,17 @@ show_help() {
" fix-config.json 修复 config.json\n"
"管理:"
" un, uninstall 卸载"
" u, update [core | sh | caddy] [ver] 更新"
" u, update [core | sh | dat | caddy] [ver] 更新"
" U, update.sh 更新脚本"
" s, status 运行状态"
" start, stop, restart [caddy] 启动, 停止, 重启"
" t, test 测试运行"
" reinstall 重装脚本\n"
"测试:"
" client, genc [name] 显示用于客户端 JSON, 仅供参考"
" client [name] 显示用于客户端 JSON, 仅供参考"
" debug [name] 显示一些 debug 信息, 仅供参考"
" gen [...] 同等于 add, 但只显示 JSON 内容, 不创建文件, 测试使用"
" genc [name] 显示用于客户端部分 JSON, 仅供参考"
" no-auto-tls [...] 同等于 add, 但禁止自动配置 TLS, 可用于 *TLS 相关协议"
" xapi [...] 同等于 $is_core api, 但 API 后端使用当前运行的 $is_core_name 服务\n"
"其他:"