This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new 15ad46fff ramspeed:Fix the problem that the "-i" option doesn't work.
15ad46fff is described below
commit 15ad46fff9ceb1b053db02599b405bad0b35da8c
Author: chenrun1 <[email protected]>
AuthorDate: Wed Oct 11 11:11:17 2023 +0800
ramspeed:Fix the problem that the "-i" option doesn't work.
Signed-off-by: chenrun1 <[email protected]>
---
system/ramspeed/ramspeed_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/system/ramspeed/ramspeed_main.c b/system/ramspeed/ramspeed_main.c
index 77bd85449..6e6520007 100644
--- a/system/ramspeed/ramspeed_main.c
+++ b/system/ramspeed/ramspeed_main.c
@@ -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)
{