From: Omar Sandoval Date: Wed, 5 Oct 2016 22:15:26 +0000 (-0700) Subject: init: fix --bandwidth-log without argument X-Git-Tag: fio-2.15~22 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=2fd6fad5cc1a5533aab3d914c4bf69952ef70590;ds=sidebyside init: fix --bandwidth-log without argument --bandwidth-log doesn't do anything with the argument that it requires, and the documentation doesn't indicate that it takes an argument. Fixes: b46928282e0a ("[PATCH] Add full command line parameter support") Signed-off-by: Omar Sandoval Signed-off-by: Jens Axboe --- diff --git a/init.c b/init.c index c556fa29..eb6f4a63 100644 --- a/init.c +++ b/init.c @@ -103,7 +103,7 @@ static struct option l_opts[FIO_NR_OPTIONS] = { }, { .name = (char *) "bandwidth-log", - .has_arg = required_argument, + .has_arg = no_argument, .val = 'b' | FIO_CLIENT_FLAG, }, {