commit fbc685a76c81a540ef76f8bc7ddcfd77807e4faf
parent 3e1906695f9cbc6c4f5501c65628d9105164a179
Author: Christian Grothoff <christian@grothoff.org>
Date: Tue, 17 Oct 2017 14:03:05 +0200
make --wire argument mandatory
Diffstat:
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/src/auditor/taler-wire-auditor.c b/src/auditor/taler-wire-auditor.c
@@ -1095,11 +1095,12 @@ main (int argc,
"restart",
"restart audit from the beginning (required on first run)",
&restart),
- GNUNET_GETOPT_option_string ('w',
- "wire",
- "PLUGINNAME",
- "name of the wire plugin to use",
- &wire_plugin),
+ GNUNET_GETOPT_option_mandatory
+ (GNUNET_GETOPT_option_string ('w',
+ "wire",
+ "PLUGINNAME",
+ "name of the wire plugin to use",
+ &wire_plugin)),
GNUNET_GETOPT_OPTION_END
};