commit dba1103c266832694f3a6ac894f3453f94ae773d
parent f88bad901602d3e603ffe807ef4b85206ae1cbe0
Author: Christian Grothoff <christian@grothoff.org>
Date: Sat, 25 Mar 2017 21:22:45 +0100
renaming GNUNET_GETOPT-symbols to match latest changes in GNUnet
Diffstat:
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/taler-merchant-httpd.c b/src/backend/taler-merchant-httpd.c
@@ -1130,7 +1130,7 @@ main (int argc, char *const *argv)
{
struct GNUNET_GETOPT_CommandLineOption options[] = {
- GNUNET_GETOPT_OPTION_SET_ONE ('C',
+ GNUNET_GETOPT_option_flag ('C',
"connection-close",
"force HTTP connections to be closed after each request",
&TMH_merchant_connection_close),
diff --git a/src/merchant-tools/taler-merchant-dbinit.c b/src/merchant-tools/taler-merchant-dbinit.c
@@ -89,7 +89,7 @@ main (int argc,
{
struct GNUNET_GETOPT_CommandLineOption options[] = {
- GNUNET_GETOPT_OPTION_SET_ONE ('r',
+ GNUNET_GETOPT_option_flag ('r',
"reset",
"reset database (DANGEROUS: all existing data is lost!)",
&reset_db),
diff --git a/src/samples/generate_payments.c b/src/samples/generate_payments.c
@@ -1493,8 +1493,8 @@ main (int argc,
NULL);
struct GNUNET_GETOPT_CommandLineOption options[] = {
- GNUNET_GETOPT_OPTION_CFG_FILE (&config_file),
- GNUNET_GETOPT_OPTION_SET_UINT ('n',
+ GNUNET_GETOPT_option_cfgfile (&config_file),
+ GNUNET_GETOPT_option_uint ('n',
"times",
"TIMES",
"How many times the commands should be run.",