aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-03-25 21:22:45 +0100
committerChristian Grothoff <christian@grothoff.org>2017-03-25 21:22:45 +0100
commitdba1103c266832694f3a6ac894f3453f94ae773d (patch)
treedde9dab35dfd310ba8e8453f7af94f2bd9ddfa33 /src
parentf88bad901602d3e603ffe807ef4b85206ae1cbe0 (diff)
downloadmerchant-dba1103c266832694f3a6ac894f3453f94ae773d.tar.gz
merchant-dba1103c266832694f3a6ac894f3453f94ae773d.tar.bz2
merchant-dba1103c266832694f3a6ac894f3453f94ae773d.zip
renaming GNUNET_GETOPT-symbols to match latest changes in GNUnet
Diffstat (limited to 'src')
-rw-r--r--src/backend/taler-merchant-httpd.c2
-rw-r--r--src/merchant-tools/taler-merchant-dbinit.c2
-rw-r--r--src/samples/generate_payments.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/taler-merchant-httpd.c b/src/backend/taler-merchant-httpd.c
index 6567ebb3..96b2405f 100644
--- 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
index eadab4ab..e846100c 100644
--- 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
index ab9156cd..3390655a 100644
--- 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.",