aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-download.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/gnunet-download.c')
-rw-r--r--src/fs/gnunet-download.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/fs/gnunet-download.c b/src/fs/gnunet-download.c
index 4d6f30587..83c1eb505 100644
--- a/src/fs/gnunet-download.c
+++ b/src/fs/gnunet-download.c
@@ -300,46 +300,46 @@ int
300main (int argc, char *const *argv) 300main (int argc, char *const *argv)
301{ 301{
302 struct GNUNET_GETOPT_CommandLineOption options[] = { 302 struct GNUNET_GETOPT_CommandLineOption options[] = {
303 GNUNET_GETOPT_OPTION_SET_UINT ('a', 303 GNUNET_GETOPT_option_uint ('a',
304 "anonymity", 304 "anonymity",
305 "LEVEL", 305 "LEVEL",
306 gettext_noop ("set the desired LEVEL of receiver-anonymity"), 306 gettext_noop ("set the desired LEVEL of receiver-anonymity"),
307 &anonymity), 307 &anonymity),
308 308
309 GNUNET_GETOPT_OPTION_SET_ONE ('D', 309 GNUNET_GETOPT_option_flag ('D',
310 "delete-incomplete", 310 "delete-incomplete",
311 gettext_noop ("delete incomplete downloads (when aborted with CTRL-C)"), 311 gettext_noop ("delete incomplete downloads (when aborted with CTRL-C)"),
312 &delete_incomplete), 312 &delete_incomplete),
313 313
314 GNUNET_GETOPT_OPTION_SET_ONE ('n', 314 GNUNET_GETOPT_option_flag ('n',
315 "no-network", 315 "no-network",
316 gettext_noop ("only search the local peer (no P2P network search)"), 316 gettext_noop ("only search the local peer (no P2P network search)"),
317 &local_only), 317 &local_only),
318 318
319 GNUNET_GETOPT_OPTION_STRING ('o', 319 GNUNET_GETOPT_option_string ('o',
320 "output", 320 "output",
321 "FILENAME", 321 "FILENAME",
322 gettext_noop ("write the file to FILENAME"), 322 gettext_noop ("write the file to FILENAME"),
323 &filename), 323 &filename),
324 324
325 GNUNET_GETOPT_OPTION_SET_UINT ('p', 325 GNUNET_GETOPT_option_uint ('p',
326 "parallelism", 326 "parallelism",
327 "DOWNLOADS", 327 "DOWNLOADS",
328 gettext_noop ("set the maximum number of parallel downloads that is allowed"), 328 gettext_noop ("set the maximum number of parallel downloads that is allowed"),
329 &parallelism), 329 &parallelism),
330 330
331 GNUNET_GETOPT_OPTION_SET_UINT ('r', 331 GNUNET_GETOPT_option_uint ('r',
332 "request-parallelism", 332 "request-parallelism",
333 "REQUESTS", 333 "REQUESTS",
334 gettext_noop ("set the maximum number of parallel requests for blocks that is allowed"), 334 gettext_noop ("set the maximum number of parallel requests for blocks that is allowed"),
335 &request_parallelism), 335 &request_parallelism),
336 336
337 GNUNET_GETOPT_OPTION_SET_ONE ('R', 337 GNUNET_GETOPT_option_flag ('R',
338 "recursive", 338 "recursive",
339 gettext_noop ("download a GNUnet directory recursively"), 339 gettext_noop ("download a GNUnet directory recursively"),
340 &do_recursive), 340 &do_recursive),
341 341
342 GNUNET_GETOPT_OPTION_INCREMENT_VALUE ('V', 342 GNUNET_GETOPT_option_increment_uint ('V',
343 "verbose", 343 "verbose",
344 gettext_noop ("be verbose (print progress information)"), 344 gettext_noop ("be verbose (print progress information)"),
345 &verbose), 345 &verbose),