From 2fd6fad5cc1a5533aab3d914c4bf69952ef70590 Mon Sep 17 00:00:00 2001 From: Omar Sandoval Date: Wed, 5 Oct 2016 15:15:26 -0700 Subject: [PATCH] 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 --- init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, }, { -- 2.25.1