Mod aaa-12 更新Makefile控制台输出格式

RCA:
SOL:
修改人:huangxin
检视人:huangxin
This commit is contained in:
黄昕 2019-06-19 17:33:11 +08:00
parent 6ed6f48f81
commit f1b177331e
2 changed files with 18 additions and 18 deletions

View File

@ -13,11 +13,11 @@
int main(int argc, char **argv)
{
int c, optidx = 0;
static struct option long_opts[] = {
{ "help", 0, 0, 'h' },
{ "version", 0, 0, 'v' },
static const struct option long_opts[] = {
{ "help", no_argument, NULL, 'h' },
{ "version", no_argument, NULL, 'v' },
// TODO 添加其它需要处理的参数配置
{NULL, 0, 0, 0}
{NULL, 0, NULL, 0}
};
while((c = getopt_long(argc, argv, "hv", long_opts, &optidx)) != -1)