summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-10-17 14:03:05 +0200
committerChristian Grothoff <christian@grothoff.org>2017-10-17 19:53:43 +0200
commitfbc685a76c81a540ef76f8bc7ddcfd77807e4faf (patch)
treed9555f3afb1a1730e99546961921e1fee5333088 /src
parent3e1906695f9cbc6c4f5501c65628d9105164a179 (diff)
downloadexchange-fbc685a76c81a540ef76f8bc7ddcfd77807e4faf.tar.gz
exchange-fbc685a76c81a540ef76f8bc7ddcfd77807e4faf.tar.bz2
exchange-fbc685a76c81a540ef76f8bc7ddcfd77807e4faf.zip
make --wire argument mandatory
Diffstat (limited to 'src')
-rw-r--r--src/auditor/taler-wire-auditor.c11
1 files 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
};