summaryrefslogtreecommitdiff
path: root/src/mint-tools/taler-mint-reservemod.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-04-13 13:49:42 +0200
committerChristian Grothoff <christian@grothoff.org>2015-04-13 13:49:42 +0200
commit2310a3f4747edf100b4c96737426239c893a04a9 (patch)
tree50378498ee7e2f455840bac880411e549bd4b9df /src/mint-tools/taler-mint-reservemod.c
parent9e9bad8dad9aacd3028e1baab76de36c8a5dbdc7 (diff)
downloadexchange-2310a3f4747edf100b4c96737426239c893a04a9.tar.gz
exchange-2310a3f4747edf100b4c96737426239c893a04a9.tar.bz2
exchange-2310a3f4747edf100b4c96737426239c893a04a9.zip
fixing -h and -v command line tool options
Diffstat (limited to 'src/mint-tools/taler-mint-reservemod.c')
-rw-r--r--src/mint-tools/taler-mint-reservemod.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mint-tools/taler-mint-reservemod.c b/src/mint-tools/taler-mint-reservemod.c
index 3f3bdcd98..ce35ecc4c 100644
--- a/src/mint-tools/taler-mint-reservemod.c
+++ b/src/mint-tools/taler-mint-reservemod.c
@@ -212,16 +212,17 @@ main (int argc, char *const *argv)
static char *reserve_pub_str;
static char *add_str;
static const struct GNUNET_GETOPT_CommandLineOption options[] = {
- GNUNET_GETOPT_OPTION_HELP ("gnunet-mint-reservemod OPTIONS"),
+ {'a', "add", "DENOM",
+ "value to add", 1,
+ &GNUNET_GETOPT_set_string, &add_str},
{'d', "mint-dir", "DIR",
"mint directory with keys to update", 1,
&GNUNET_GETOPT_set_filename, &mint_directory},
+ TALER_GETOPT_OPTION_HELP ("Deposit funds into a Taler reserve"),
{'R', "reserve", "KEY",
"reserve (public key) to modify", 1,
&GNUNET_GETOPT_set_string, &reserve_pub_str},
- {'a', "add", "DENOM",
- "value to add", 1,
- &GNUNET_GETOPT_set_string, &add_str},
+ GNUNET_GETOPT_OPTION_VERSION (VERSION "-" VCS_VERSION),
GNUNET_GETOPT_OPTION_END
};
char *connection_cfg_str;