diff options
Diffstat (limited to 'src/dht/gnunet-dht-put.c')
-rw-r--r-- | src/dht/gnunet-dht-put.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/dht/gnunet-dht-put.c b/src/dht/gnunet-dht-put.c index bf88e5ded..f183fe588 100644 --- a/src/dht/gnunet-dht-put.c +++ b/src/dht/gnunet-dht-put.c @@ -204,47 +204,47 @@ main (int argc, char *const *argv) struct GNUNET_GETOPT_CommandLineOption options[] = { - GNUNET_GETOPT_OPTION_STRING ('d', + GNUNET_GETOPT_option_string ('d', "data", "DATA", gettext_noop ("the data to insert under the key"), &data), - GNUNET_GETOPT_OPTION_SET_RELATIVE_TIME ('e', + GNUNET_GETOPT_option_relative_time ('e', "expiration", "EXPIRATION", gettext_noop ("how long to store this entry in the dht (in seconds)"), &expiration), - GNUNET_GETOPT_OPTION_STRING ('k', + GNUNET_GETOPT_option_string ('k', "key", "KEY", gettext_noop ("the query key"), &query_key), - GNUNET_GETOPT_OPTION_SET_ONE ('x', + GNUNET_GETOPT_option_flag ('x', "demultiplex", gettext_noop ("use DHT's demultiplex everywhere option"), &demultixplex_everywhere), - GNUNET_GETOPT_OPTION_SET_UINT ('r', + GNUNET_GETOPT_option_uint ('r', "replication", "LEVEL", gettext_noop ("how many replicas to create"), &replication), - GNUNET_GETOPT_OPTION_SET_ONE ('R', + GNUNET_GETOPT_option_flag ('R', "record", gettext_noop ("use DHT's record route option"), &record_route), - GNUNET_GETOPT_OPTION_SET_UINT ('t', + GNUNET_GETOPT_option_uint ('t', "type", "TYPE", gettext_noop ("the type to insert data as"), &query_type), - GNUNET_GETOPT_OPTION_VERBOSE (&verbose), + GNUNET_GETOPT_option_verbose (&verbose), GNUNET_GETOPT_OPTION_END }; |