From fbc685a76c81a540ef76f8bc7ddcfd77807e4faf Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 17 Oct 2017 14:03:05 +0200 Subject: make --wire argument mandatory --- src/auditor/taler-wire-auditor.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/auditor/taler-wire-auditor.c b/src/auditor/taler-wire-auditor.c index 8cc579f82..7cc741b97 100644 --- 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 }; -- cgit v1.2.3