This patch fixes the long option argument option to no argument. The dot argument doesn't require any postponed argument. Signed-off-by: Alexander Aring <aring@xxxxxxxxxxxx> --- wpan-hwsim/wpan-hwsim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpan-hwsim/wpan-hwsim.c b/wpan-hwsim/wpan-hwsim.c index dcddb09..3e54348 100644 --- a/wpan-hwsim/wpan-hwsim.c +++ b/wpan-hwsim/wpan-hwsim.c @@ -393,7 +393,7 @@ int main(int argc, const char *argv[]) static struct option long_options[] = { {"help", no_argument, 0, 'h' }, {"version", no_argument, 0, 'v' }, - {"dot", required_argument, 0, 'd' }, + {"dot", no_argument, 0, 'd' }, {"ignore", required_argument, 0, 'i' }, {0, 0, 0, 0 } }; -- 2.11.0