diff options
Diffstat (limited to 'bench.c')
-rw-r--r-- | bench.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -449,21 +449,21 @@ main (int argc, char *argv[]) uint16_t public; uint16_t *bids = NULL; struct GNUNET_GETOPT_CommandLineOption options[] = { - GNUNET_GETOPT_OPTION_HELP ("benchmark a single libbrandt auction"), + GNUNET_GETOPT_option_help ("benchmark a single libbrandt auction"), {'k', "k", "NUMBER", gettext_noop ("number of prices\n"), - 1, &GNUNET_GETOPT_set_uint, &k}, + 1, &GNUNET_GETOPT_option_uint, &k}, {'n', "n", "NUMBER", gettext_noop ("number of bidders\n"), - 1, &GNUNET_GETOPT_set_uint, &n}, + 1, &GNUNET_GETOPT_option_uint, &n}, {'m', "m", "NUMBER", gettext_noop ("number of items to sell\n" "0 for first price auction\n" ">0 for vickrey/M+1st price auction"), - 1, &GNUNET_GETOPT_set_uint, &m}, + 1, &GNUNET_GETOPT_option_uint, &m}, {'p', "public", NULL, gettext_noop ("public auction outcome"), - 0, &GNUNET_GETOPT_set_one, &public}, + 0, &GNUNET_GETOPT_option_flag, &public}, GNUNET_GETOPT_OPTION_END }; |