mirror of
https://github.com/mamoe/mirai.git
synced 2025-04-09 02:10:10 +08:00
console-terminal option: --no-logging
This commit is contained in:
parent
551f1de402
commit
9bdbe30522
@ -68,6 +68,7 @@ object MiraiConsoleTerminalLoader {
|
||||
"--help" to "显示此帮助",
|
||||
"" to "",
|
||||
"--no-console" to "使用无终端操作环境",
|
||||
"--no-logging" to "禁用 console 日志文件",
|
||||
"--dont-setup-terminal-ansi" to
|
||||
"[NoConsole] [Windows Only] 不进行ansi console初始化工作",
|
||||
"--no-ansi" to "[NoConsole] 禁用 ansi",
|
||||
@ -117,6 +118,9 @@ object MiraiConsoleTerminalLoader {
|
||||
"--dont-setup-terminal-ansi" -> {
|
||||
ConsoleTerminalSettings.setupAnsi = false
|
||||
}
|
||||
"--no-logging" -> {
|
||||
ConsoleTerminalSettings.noLogging = true
|
||||
}
|
||||
"--no-ansi" -> {
|
||||
ConsoleTerminalSettings.noAnsi = true
|
||||
ConsoleTerminalSettings.setupAnsi = false
|
||||
|
Loading…
Reference in New Issue
Block a user