diff options
Diffstat (limited to 'src/dht/gnunet-dht-get.c')
-rw-r--r-- | src/dht/gnunet-dht-get.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/dht/gnunet-dht-get.c b/src/dht/gnunet-dht-get.c index 67f0ce76d..e361df336 100644 --- a/src/dht/gnunet-dht-get.c +++ b/src/dht/gnunet-dht-get.c | |||
@@ -239,37 +239,37 @@ main (int argc, char *const *argv) | |||
239 | 239 | ||
240 | struct GNUNET_GETOPT_CommandLineOption options[] = { | 240 | struct GNUNET_GETOPT_CommandLineOption options[] = { |
241 | 241 | ||
242 | GNUNET_GETOPT_OPTION_STRING ('k', | 242 | GNUNET_GETOPT_option_string ('k', |
243 | "key", | 243 | "key", |
244 | "KEY", | 244 | "KEY", |
245 | gettext_noop ("the query key"), | 245 | gettext_noop ("the query key"), |
246 | &query_key), | 246 | &query_key), |
247 | 247 | ||
248 | GNUNET_GETOPT_OPTION_SET_UINT ('r', | 248 | GNUNET_GETOPT_option_uint ('r', |
249 | "replication", | 249 | "replication", |
250 | "LEVEL", | 250 | "LEVEL", |
251 | gettext_noop ("how many parallel requests (replicas) to create"), | 251 | gettext_noop ("how many parallel requests (replicas) to create"), |
252 | &replication), | 252 | &replication), |
253 | 253 | ||
254 | 254 | ||
255 | GNUNET_GETOPT_OPTION_SET_UINT ('t', | 255 | GNUNET_GETOPT_option_uint ('t', |
256 | "type", | 256 | "type", |
257 | "TYPE", | 257 | "TYPE", |
258 | gettext_noop ("the type of data to look for"), | 258 | gettext_noop ("the type of data to look for"), |
259 | &query_type), | 259 | &query_type), |
260 | 260 | ||
261 | GNUNET_GETOPT_OPTION_SET_RELATIVE_TIME ('T', | 261 | GNUNET_GETOPT_option_relative_time ('T', |
262 | "timeout", | 262 | "timeout", |
263 | "TIMEOUT", | 263 | "TIMEOUT", |
264 | gettext_noop ("how long to execute this query before giving up?"), | 264 | gettext_noop ("how long to execute this query before giving up?"), |
265 | &timeout_request), | 265 | &timeout_request), |
266 | 266 | ||
267 | GNUNET_GETOPT_OPTION_SET_ONE ('x', | 267 | GNUNET_GETOPT_option_flag ('x', |
268 | "demultiplex", | 268 | "demultiplex", |
269 | gettext_noop ("use DHT's demultiplex everywhere option"), | 269 | gettext_noop ("use DHT's demultiplex everywhere option"), |
270 | &demultixplex_everywhere), | 270 | &demultixplex_everywhere), |
271 | 271 | ||
272 | GNUNET_GETOPT_OPTION_VERBOSE (&verbose), | 272 | GNUNET_GETOPT_option_verbose (&verbose), |
273 | GNUNET_GETOPT_OPTION_END | 273 | GNUNET_GETOPT_OPTION_END |
274 | }; | 274 | }; |
275 | 275 | ||