From 967fe035ab6543c3b0e1080d2cf4b8e62c1e171d Mon Sep 17 00:00:00 2001 From: xiongziliang <771730766@qq.com> Date: Sat, 22 Apr 2023 22:03:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=BF=97=E9=BB=98=E8=AE=A4=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E4=B8=BAdebug=E7=BA=A7=E5=88=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/main.cpp b/server/main.cpp index 3b5dfe2c..92cbd8c6 100644 --- a/server/main.cpp +++ b/server/main.cpp @@ -123,7 +123,7 @@ public: (*_parser) << Option('l',/*该选项简称,如果是\x00则说明无简称*/ "level",/*该选项全称,每个选项必须有全称;不得为null或空字符串*/ Option::ArgRequired,/*该选项后面必须跟值*/ - to_string(LTrace).data(),/*该选项默认值*/ + to_string(LDebug).data(),/*该选项默认值*/ false,/*该选项是否必须赋值,如果没有默认值且为ArgRequired时用户必须提供该参数否则将抛异常*/ "日志等级,LTrace~LError(0~4)",/*该选项说明文字*/ nullptr);