summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-03-15 12:02:07 +0100
committerChristian Grothoff <christian@grothoff.org>2017-03-15 12:02:07 +0100
commitaf5810ccae377ae08b9bdcc11914114d1614c58a (patch)
treedb96f1acc4df86a346c4e76439f96a2039ec738d /src
parentae3e850c946947cead6b9330f7c8e9764bd5f934 (diff)
downloadexchange-af5810ccae377ae08b9bdcc11914114d1614c58a.tar.gz
exchange-af5810ccae377ae08b9bdcc11914114d1614c58a.tar.bz2
exchange-af5810ccae377ae08b9bdcc11914114d1614c58a.zip
add -m option to auditor
Diffstat (limited to 'src')
-rw-r--r--src/auditor/taler-auditor.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/auditor/taler-auditor.c b/src/auditor/taler-auditor.c
index cab44e4d..85839e5f 100644
--- a/src/auditor/taler-auditor.c
+++ b/src/auditor/taler-auditor.c
@@ -25,7 +25,6 @@
* given in the aggregation_tracking table. This needs to be checked separately!
*
* TODO:
- * - initialize master_pub via command-line argument (URGENT!)
* - modify auditordb to allow multiple last serial IDs per table in progress tracking
* - modify auditordb to return row ID where we need it for diagnostics
* - implement coin/denomination audit
@@ -1358,6 +1357,12 @@ main (int argc,
char *const *argv)
{
const struct GNUNET_GETOPT_CommandLineOption options[] = {
+ GNUNET_GETOPT_OPTION_MANDATORY
+ (GNUNET_GETOPT_OPTION_SET_BASE32_AUTO ('m',
+ "exchange-key",
+ "KEY",
+ "public key of the exchange (Crockford base32 encoded)",
+ &master_pub)),
GNUNET_GETOPT_OPTION_END
};