增加-h参数,显示帮助菜单

Signed-off-by: fangyunzhong <fangyunzhong2@huawei.com>
This commit is contained in:
fangyunzhong
2022-11-28 19:08:27 +08:00
parent ec2886fa0b
commit e0dcc7067c
3 changed files with 14 additions and 2 deletions
+1 -1
View File
@@ -302,7 +302,7 @@ bool JsonCompiler::CheckJsonStringValue(const Json::Value &valueNode, const Reso
ResType type = resourceItem.GetResType();
if (type == ResType::COLOR && !CheckColorValue(value.c_str())) {
string error = "invaild color value '" + value + \
"', only support refer '$color:xxx' or '#rgb','#argb','#rrggbb','aarrggbb'.";
"', only support refer '$color:xxx' or '#rgb','#argb','#rrggbb','#aarrggbb'.";
cerr << "Error: " << error << NEW_LINE_PATH << resourceItem.GetFilePath() << endl;
return false;
}