diff options
author | Marcello Stanisci <marcello.stanisci@inria.fr> | 2017-03-16 15:26:57 +0100 |
---|---|---|
committer | Marcello Stanisci <marcello.stanisci@inria.fr> | 2017-03-16 15:26:57 +0100 |
commit | 1c4f90e7c538f1489ea17be3d2f655c2390d7ccf (patch) | |
tree | 9a8dc8245d1ffe456076cc8612754d0d9dd7298f /src/gns/gnunet-bcd.c | |
parent | 04a46ba5acf180be6f3a7d85cd6f6ce0ff13b1ba (diff) | |
download | gnunet-1c4f90e7c538f1489ea17be3d2f655c2390d7ccf.tar.gz gnunet-1c4f90e7c538f1489ea17be3d2f655c2390d7ccf.zip |
porting gnunet-publish + others..
Diffstat (limited to 'src/gns/gnunet-bcd.c')
-rw-r--r-- | src/gns/gnunet-bcd.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/gns/gnunet-bcd.c b/src/gns/gnunet-bcd.c index 21471350d..fb7ac10c1 100644 --- a/src/gns/gnunet-bcd.c +++ b/src/gns/gnunet-bcd.c | |||
@@ -514,10 +514,14 @@ run (void *cls, | |||
514 | int | 514 | int |
515 | main (int argc, char *const *argv) | 515 | main (int argc, char *const *argv) |
516 | { | 516 | { |
517 | static const struct GNUNET_GETOPT_CommandLineOption options[] = { | 517 | struct GNUNET_GETOPT_CommandLineOption options[] = { |
518 | {'p', "port", "PORT", | 518 | |
519 | gettext_noop ("Run HTTP serve on port PORT (default is 8888)"), 1, | 519 | GNUNET_GETOPT_OPTION_SET_UINT ('p', |
520 | &GNUNET_GETOPT_set_uint, &port}, | 520 | "port", |
521 | "PORT", | ||
522 | gettext_noop ("Run HTTP serve on port PORT (default is 8888)"), | ||
523 | &port), | ||
524 | |||
521 | GNUNET_GETOPT_OPTION_END | 525 | GNUNET_GETOPT_OPTION_END |
522 | }; | 526 | }; |
523 | int ret; | 527 | int ret; |