|
@@ -30,7 +30,7 @@ int GetOptLong(int argc, char *argv[]) {
|
|
|
// 第几个元素的描述,即是long_opts的下标值
|
|
|
int option_index = 0;
|
|
|
// 设置短参数类型及是否需要参数
|
|
|
- const char *optstring = "v:l:e:o:h";
|
|
|
+ const char *optstring = "i:o:h";
|
|
|
|
|
|
static struct option long_options[] = {
|
|
|
{"input", required_argument, NULL, 'i'},
|