main: 'quiet' option does not take an argument
Namhyung Kim
PATCH 1/1 main: 'quiet' option does not take an argument
Signed-off-by Namhyung Kim <namhyung(a)gmail.com>
--- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
src/main.cpp +1 -1
@@ -77,7 +77,7 @@ static const struct option long_options[] = {"time", optional_argument, NULL, 't'}, {"iteration", optional_argument, NULL, 'i'}, {"workload", optional_argument, NULL, 'w'}, - {"quiet", optional_argument, NULL, 'q'}, + {"quiet", no_argument, NULL, 'q'}, {NULL, 0, NULL, 0} };
Signature · 1 line
1.7.9.2
Sergey Senozhatsky
Quoted 10 lines · Namhyung Kim
Signed-off-by Namhyung Kim <namhyung(a)gmail.com>--- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)src/main.cpp +0
-0
src/main.cpp static const struct option long_options[] = · line 83
Quoted 8 lines
src/main.cpp +1
-1@@ -77,7 +77,7 @@ static const struct option long_options[] = {"time", optional_argument, NULL, 't'}, {"iteration", optional_argument, NULL, 'i'}, {"workload", optional_argument, NULL, 'w'}, - {"quiet", optional_argument, NULL, 'q'}, + {"quiet", no_argument, NULL, 'q'}, {NULL, 0, NULL, 0} };
looks good to me
-ss
Kristen Carlson Accardi
AppliedQuoted 10 lines · On Mon, 14 Jan 2013 23:25:32 +0900 Namhyung Kim <namhyung(a)gmail.com> wrote:
Signed-off-by Namhyung Kim <namhyung(a)gmail.com>--- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)src/main.cpp +0
-0
src/main.cpp static const struct option long_options[] = · line 83
Quoted 8 lines
src/main.cpp +1
-1@@ -77,7 +77,7 @@ static const struct option long_options[] = {"time", optional_argument, NULL, 't'}, {"iteration", optional_argument, NULL, 'i'}, {"workload", optional_argument, NULL, 'w'}, - {"quiet", optional_argument, NULL, 'q'}, + {"quiet", no_argument, NULL, 'q'}, {NULL, 0, NULL, 0} };
Applied, thanks.
Kristen