diff options
Diffstat (limited to 'src/transport/gnunet-transport.c')
-rw-r--r-- | src/transport/gnunet-transport.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/transport/gnunet-transport.c b/src/transport/gnunet-transport.c index 8624b09b4..96d0a6a3a 100644 --- a/src/transport/gnunet-transport.c +++ b/src/transport/gnunet-transport.c | |||
@@ -1428,49 +1428,49 @@ main (int argc, | |||
1428 | { | 1428 | { |
1429 | int res; | 1429 | int res; |
1430 | struct GNUNET_GETOPT_CommandLineOption options[] = { | 1430 | struct GNUNET_GETOPT_CommandLineOption options[] = { |
1431 | GNUNET_GETOPT_OPTION_SET_ONE ('a', | 1431 | GNUNET_GETOPT_option_flag ('a', |
1432 | "all", | 1432 | "all", |
1433 | gettext_noop ("print information for all peers (instead of only connected peers)"), | 1433 | gettext_noop ("print information for all peers (instead of only connected peers)"), |
1434 | &iterate_all), | 1434 | &iterate_all), |
1435 | GNUNET_GETOPT_OPTION_SET_ONE ('b', | 1435 | GNUNET_GETOPT_option_flag ('b', |
1436 | "benchmark", | 1436 | "benchmark", |
1437 | gettext_noop ("measure how fast we are receiving data from all peers (until CTRL-C)"), | 1437 | gettext_noop ("measure how fast we are receiving data from all peers (until CTRL-C)"), |
1438 | &benchmark_receive), | 1438 | &benchmark_receive), |
1439 | GNUNET_GETOPT_OPTION_SET_ONE ('D', | 1439 | GNUNET_GETOPT_option_flag ('D', |
1440 | "disconnect", | 1440 | "disconnect", |
1441 | gettext_noop ("disconnect from a peer"), | 1441 | gettext_noop ("disconnect from a peer"), |
1442 | &do_disconnect), | 1442 | &do_disconnect), |
1443 | GNUNET_GETOPT_OPTION_SET_ONE ('i', | 1443 | GNUNET_GETOPT_option_flag ('i', |
1444 | "information", | 1444 | "information", |
1445 | gettext_noop ("provide information about all current connections (once)"), | 1445 | gettext_noop ("provide information about all current connections (once)"), |
1446 | &iterate_connections), | 1446 | &iterate_connections), |
1447 | GNUNET_GETOPT_OPTION_SET_ONE ('m', | 1447 | GNUNET_GETOPT_option_flag ('m', |
1448 | "monitor", | 1448 | "monitor", |
1449 | gettext_noop ("provide information about all current connections (continuously)"), | 1449 | gettext_noop ("provide information about all current connections (continuously)"), |
1450 | &monitor_connections), | 1450 | &monitor_connections), |
1451 | GNUNET_GETOPT_OPTION_SET_ONE ('e', | 1451 | GNUNET_GETOPT_option_flag ('e', |
1452 | "events", | 1452 | "events", |
1453 | gettext_noop ("provide information about all connects and disconnect events (continuously)"), | 1453 | gettext_noop ("provide information about all connects and disconnect events (continuously)"), |
1454 | &monitor_connects), | 1454 | &monitor_connects), |
1455 | GNUNET_GETOPT_OPTION_SET_ONE ('n', | 1455 | GNUNET_GETOPT_option_flag ('n', |
1456 | "numeric", | 1456 | "numeric", |
1457 | gettext_noop ("do not resolve hostnames"), | 1457 | gettext_noop ("do not resolve hostnames"), |
1458 | &numeric), | 1458 | &numeric), |
1459 | GNUNET_GETOPT_OPTION_SET_BASE32_AUTO ('p', | 1459 | GNUNET_GETOPT_option_base32_auto ('p', |
1460 | "peer", | 1460 | "peer", |
1461 | "PEER", | 1461 | "PEER", |
1462 | gettext_noop ("peer identity"), | 1462 | gettext_noop ("peer identity"), |
1463 | &pid), | 1463 | &pid), |
1464 | GNUNET_GETOPT_OPTION_SET_ONE ('P', | 1464 | GNUNET_GETOPT_option_flag ('P', |
1465 | "plugins", | 1465 | "plugins", |
1466 | gettext_noop ("monitor plugin sessions"), | 1466 | gettext_noop ("monitor plugin sessions"), |
1467 | &monitor_plugins), | 1467 | &monitor_plugins), |
1468 | GNUNET_GETOPT_OPTION_SET_ONE ('s', | 1468 | GNUNET_GETOPT_option_flag ('s', |
1469 | "send", | 1469 | "send", |
1470 | gettext_noop | 1470 | gettext_noop |
1471 | ("send data for benchmarking to the other peer (until CTRL-C)"), | 1471 | ("send data for benchmarking to the other peer (until CTRL-C)"), |
1472 | &benchmark_send), | 1472 | &benchmark_send), |
1473 | GNUNET_GETOPT_OPTION_VERBOSE (&verbosity), | 1473 | GNUNET_GETOPT_option_verbose (&verbosity), |
1474 | GNUNET_GETOPT_OPTION_END | 1474 | GNUNET_GETOPT_OPTION_END |
1475 | }; | 1475 | }; |
1476 | 1476 | ||