ramspeed:Fix the problem that the "-i" option doesn't work.

Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
This commit is contained in:
chenrun1 2023-10-11 11:11:17 +08:00 committed by Xiang Xiao
parent 2d7bfa2390
commit 15ad46fff9

View File

@ -128,7 +128,7 @@ static void parse_commandline(int argc, FAR char **argv,
show_usage(argv[0], EXIT_FAILURE);
}
while ((ch = getopt(argc, argv, "r:w:s:v:n:i:a")) != ERROR)
while ((ch = getopt(argc, argv, "r:w:s:v:n:ia")) != ERROR)
{
switch (ch)
{