make --wire argument mandatory

This commit is contained in:
Christian Grothoff 2017-10-17 14:03:05 +02:00
parent 3e1906695f
commit fbc685a76c
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -1095,11 +1095,12 @@ main (int argc,
"restart", "restart",
"restart audit from the beginning (required on first run)", "restart audit from the beginning (required on first run)",
&restart), &restart),
GNUNET_GETOPT_option_string ('w', GNUNET_GETOPT_option_mandatory
(GNUNET_GETOPT_option_string ('w',
"wire", "wire",
"PLUGINNAME", "PLUGINNAME",
"name of the wire plugin to use", "name of the wire plugin to use",
&wire_plugin), &wire_plugin)),
GNUNET_GETOPT_OPTION_END GNUNET_GETOPT_OPTION_END
}; };