1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-04 19:17:37 +08:00

优化注释

This commit is contained in:
源文雨 2023-02-28 21:14:35 +08:00
parent 1b8ebf55a5
commit dbddd18e3a

View File

@ -43,7 +43,9 @@ var allowStatus = [...]client.UserOnlineStatus{
// InitBase 解析参数并检测
//
// 如果在 windows 下双击打开了程序,程序将在此函数释出脚本后终止
// 如果在 windows 下双击打开了程序,程序将在此函数释出脚本后终止;
// 如果传入 -h 参数,程序将打印帮助后终止;
// 如果传入 -d 参数,程序将在启动 daemon 后终止。
func InitBase() {
base.Parse()
if !base.FastStart && terminal.RunningByDoubleClick() {