fix: 修正枚举值命名规范

This commit is contained in:
2025-09-30 10:10:41 +08:00
parent 7b2acabfd6
commit 56a50201fe
6 changed files with 52 additions and 52 deletions

View File

@@ -4,11 +4,11 @@
#include <string.h>
ArgParse *Init() {
ArgParse *ap = argParseInit("简单的命令行工具示例",NOVALUE);
ArgParse *ap = argParseInit("简单的命令行工具示例",ArgParseNOVALUE);
// 添加第一个命令
Command *cmd = argParseAddCommand(
ap, "list", "列出文件列表", NULL, NULL, NULL, SINGLEVALUE);
ap, "list", "列出文件列表", NULL, NULL, NULL, ArgParseSINGLEVALUE);
// 添加第一个命令的参数
argParseAddArg(cmd,
@@ -18,7 +18,7 @@ ArgParse *Init() {
NULL,
NULL,
false,
NOVALUE);
ArgParseNOVALUE);
return ap;
}