Hi, all

When I test test_escape, I find the usage of test_escape declares it
support -c option, however, when I use it, it complains it is an
invalid option.

Here is a patch to fix it.

diff --git a/src/test/modules/test_escape/test_escape.c 
b/src/test/modules/test_escape/test_escape.c
index 09303a00a20..7132e3a9316 100644
--- a/src/test/modules/test_escape/test_escape.c
+++ b/src/test/modules/test_escape/test_escape.c
@@ -824,7 +824,7 @@ main(int argc, char *argv[])
                {NULL, 0, NULL, 0},
        };
 
-       while ((c = getopt_long(argc, argv, "vqh", long_options, 
&option_index)) != -1)
+       while ((c = getopt_long(argc, argv, "c:vqh", long_options, 
&option_index)) != -1)
        {
                switch (c)
                {
-- 
Regrads,
Japin Li


Reply via email to