diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-10-17 14:03:05 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-10-17 19:53:43 +0200 |
commit | fbc685a76c81a540ef76f8bc7ddcfd77807e4faf (patch) | |
tree | d9555f3afb1a1730e99546961921e1fee5333088 /src/auditor | |
parent | 3e1906695f9cbc6c4f5501c65628d9105164a179 (diff) |
make --wire argument mandatory
Diffstat (limited to 'src/auditor')
-rw-r--r-- | src/auditor/taler-wire-auditor.c | 11 |
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 }; |