aboutsummaryrefslogtreecommitdiff
path: root/src/include/taler_util.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-04-07 22:52:23 +0200
committerChristian Grothoff <christian@grothoff.org>2016-04-07 22:52:23 +0200
commite00370d4f528bcb38836153c2c1d3bc38a0eae4e (patch)
tree517d1fb757dcf9a68696fa7fe67de23b61f94680 /src/include/taler_util.h
parentd986269dae21c52321341e1980a464494a3fe87b (diff)
removing duplication of --help logic
Diffstat (limited to 'src/include/taler_util.h')
-rw-r--r--src/include/taler_util.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/include/taler_util.h b/src/include/taler_util.h
index 797b6691b..425304152 100644
--- a/src/include/taler_util.h
+++ b/src/include/taler_util.h
@@ -121,28 +121,4 @@ TALER_config_get_denom (struct GNUNET_CONFIGURATION_Handle *cfg,
struct TALER_Amount *denom);
-/**
- * Print out details on command line options (implements --help).
- *
- * @param ctx command line processing context
- * @param scls additional closure (points to about text)
- * @param option name of the option
- * @param value not used (NULL)
- * @return #GNUNET_NO (do not continue, not an error)
- */
-int
-TALER_GETOPT_format_help_ (struct GNUNET_GETOPT_CommandLineProcessorContext *ctx,
- void *scls,
- const char *option,
- const char *value);
-
-/**
- * Macro defining the option to print the command line
- * help text (-h option).
- *
- * @param about string with brief description of the application
- */
-#define TALER_GETOPT_OPTION_HELP(about) \
- { 'h', "help", (const char *) NULL, gettext_noop("print this help"), 0, &TALER_GETOPT_format_help_, (void *) about }
-
#endif