diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-03-25 21:22:22 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-03-25 23:39:30 +0100 |
commit | 8d9dc14227350eb93f89c56c774ed377b633bc88 (patch) | |
tree | c6b19ab382cf8da58ea6d5c1cd9dcc8287ef63f9 /src/exchange-tools | |
parent | 293cd7a804f9804f4c0d4c1131a2acb32818e30f (diff) |
renaming GNUNET_GETOPT-symbols to match latest changes in GNUnet
Diffstat (limited to 'src/exchange-tools')
-rw-r--r-- | src/exchange-tools/taler-exchange-dbinit.c | 4 | ||||
-rw-r--r-- | src/exchange-tools/taler-exchange-keyup.c | 8 | ||||
-rw-r--r-- | src/exchange-tools/taler-exchange-reservemod.c | 12 | ||||
-rw-r--r-- | src/exchange-tools/taler-exchange-wire.c | 8 |
4 files changed, 16 insertions, 16 deletions
diff --git a/src/exchange-tools/taler-exchange-dbinit.c b/src/exchange-tools/taler-exchange-dbinit.c index 23a31fad1..77aef1ee5 100644 --- a/src/exchange-tools/taler-exchange-dbinit.c +++ b/src/exchange-tools/taler-exchange-dbinit.c @@ -96,11 +96,11 @@ main (int argc, char *const *argv) { const 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), - GNUNET_GETOPT_OPTION_SET_ONE ('g', + GNUNET_GETOPT_option_flag ('g', "gc", "garbage collect database", &gc_db), diff --git a/src/exchange-tools/taler-exchange-keyup.c b/src/exchange-tools/taler-exchange-keyup.c index 679a3ff89..2290419aa 100644 --- a/src/exchange-tools/taler-exchange-keyup.c +++ b/src/exchange-tools/taler-exchange-keyup.c @@ -1211,22 +1211,22 @@ main (int argc, char *const *argv) { struct GNUNET_GETOPT_CommandLineOption options[] = { - GNUNET_GETOPT_OPTION_FILENAME ('m', + GNUNET_GETOPT_option_filename ('m', "master-key", "FILENAME", "master key file (private key)", &masterkeyfile), - GNUNET_GETOPT_OPTION_FILENAME ('f', + GNUNET_GETOPT_option_filename ('f', "feedir", "DIRNAME", "directory where to write wire transfer fee structure", &feedir), - GNUNET_GETOPT_OPTION_FILENAME ('o', + GNUNET_GETOPT_option_filename ('o', "output", "FILENAME", "auditor denomination key signing request file to create", &auditorrequestfile), - GNUNET_GETOPT_OPTION_SET_ABSOLUTE_TIME ('t', + GNUNET_GETOPT_option_absolute_time ('t', "time", "TIMESTAMP", "pretend it is a different time for the update", diff --git a/src/exchange-tools/taler-exchange-reservemod.c b/src/exchange-tools/taler-exchange-reservemod.c index 9bcc4e15b..12d0f9c07 100644 --- a/src/exchange-tools/taler-exchange-reservemod.c +++ b/src/exchange-tools/taler-exchange-reservemod.c @@ -167,27 +167,27 @@ int main (int argc, char *const *argv) { const struct GNUNET_GETOPT_CommandLineOption options[] = { - GNUNET_GETOPT_OPTION_MANDATORY + GNUNET_GETOPT_option_mandatory (TALER_getopt_get_amount ('a', "add", "DENOM", "value to add", &add_value)), - GNUNET_GETOPT_OPTION_MANDATORY + GNUNET_GETOPT_option_mandatory (GNUNET_JSON_getopt ('s', "sender", "JSON", "details about the sender's bank account", &sender_details)), - GNUNET_GETOPT_OPTION_MANDATORY + GNUNET_GETOPT_option_mandatory (GNUNET_JSON_getopt ('t', "transfer", "JSON", "details that uniquely identify the bank transfer", &transfer_details)), - GNUNET_GETOPT_OPTION_HELP ("Deposit funds into a Taler reserve"), - GNUNET_GETOPT_OPTION_MANDATORY - (GNUNET_GETOPT_OPTION_SET_BASE32_AUTO ('R', + GNUNET_GETOPT_option_help ("Deposit funds into a Taler reserve"), + GNUNET_GETOPT_option_mandatory + (GNUNET_GETOPT_option_base32_auto ('R', "reserve", "KEY", "reserve (public key) to modify", diff --git a/src/exchange-tools/taler-exchange-wire.c b/src/exchange-tools/taler-exchange-wire.c index b7f6af89d..d5bc1df73 100644 --- a/src/exchange-tools/taler-exchange-wire.c +++ b/src/exchange-tools/taler-exchange-wire.c @@ -206,23 +206,23 @@ main (int argc, char *const *argv) { const struct GNUNET_GETOPT_CommandLineOption options[] = { - GNUNET_GETOPT_OPTION_MANDATORY + GNUNET_GETOPT_option_mandatory (GNUNET_JSON_getopt ('j', "json", "JSON", "account information in JSON format", &account_holder)), - GNUNET_GETOPT_OPTION_FILENAME ('m', + GNUNET_GETOPT_option_filename ('m', "master-key", "FILENAME", "master key file (private key)", &masterkeyfile), - GNUNET_GETOPT_OPTION_STRING ('t', + GNUNET_GETOPT_option_string ('t', "type", "METHOD", "which wire transfer method (i.e. 'test' or 'sepa') is this for?", &method), - GNUNET_GETOPT_OPTION_FILENAME ('o', + GNUNET_GETOPT_option_filename ('o', "output", "FILENAME", "where to write the result", |