Mod aaa-12 更新Makefile控制台输出格式
RCA: SOL: 修改人:huangxin 检视人:huangxin
This commit is contained in:
parent
6ed6f48f81
commit
f1b177331e
|
@ -13,11 +13,11 @@
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
int c, optidx = 0;
|
int c, optidx = 0;
|
||||||
static struct option long_opts[] = {
|
static const struct option long_opts[] = {
|
||||||
{ "help", 0, 0, 'h' },
|
{ "help", no_argument, NULL, 'h' },
|
||||||
{ "version", 0, 0, 'v' },
|
{ "version", no_argument, NULL, 'v' },
|
||||||
// TODO 添加其它需要处理的参数配置
|
// TODO 添加其它需要处理的参数配置
|
||||||
{NULL, 0, 0, 0}
|
{NULL, 0, NULL, 0}
|
||||||
};
|
};
|
||||||
|
|
||||||
while((c = getopt_long(argc, argv, "hv", long_opts, &optidx)) != -1)
|
while((c = getopt_long(argc, argv, "hv", long_opts, &optidx)) != -1)
|
||||||
|
|
Loading…
Reference in New Issue