diff options
author | Bart Polot <bart@net.in.tum.de> | 2014-04-09 10:56:40 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2014-04-09 10:56:40 +0000 |
commit | 0c3b7086446cbb216517b79dcd6e3f7faccb3950 (patch) | |
tree | 738c8f9305dd9381353625e9461cb15cb2f46f1b | |
parent | 57237f8a1407f15f63bbaf437d1a26d05d53dda3 (diff) | |
download | gnunet-0c3b7086446cbb216517b79dcd6e3f7faccb3950.tar.gz gnunet-0c3b7086446cbb216517b79dcd6e3f7faccb3950.zip |
- fix cli arg parse
-rw-r--r-- | src/mesh/gnunet-mesh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesh/gnunet-mesh.c b/src/mesh/gnunet-mesh.c index 9510c100c..9a78185a0 100644 --- a/src/mesh/gnunet-mesh.c +++ b/src/mesh/gnunet-mesh.c | |||
@@ -816,8 +816,8 @@ main (int argc, char *const *argv) | |||
816 | gettext_noop ("port to listen to (default; 0)"), | 816 | gettext_noop ("port to listen to (default; 0)"), |
817 | GNUNET_YES, &GNUNET_GETOPT_set_uint, &listen_port}, | 817 | GNUNET_YES, &GNUNET_GETOPT_set_uint, &listen_port}, |
818 | {'p', "peer", "PEER_ID", | 818 | {'p', "peer", "PEER_ID", |
819 | gettext_noop ("provide information about all peers"), | 819 | gettext_noop ("provide information about a patricular peer"), |
820 | GNUNET_NO, &GNUNET_GETOPT_set_string, &peer_id}, | 820 | GNUNET_YES, &GNUNET_GETOPT_set_string, &peer_id}, |
821 | {'P', "peers", NULL, | 821 | {'P', "peers", NULL, |
822 | gettext_noop ("provide information about all peers"), | 822 | gettext_noop ("provide information about all peers"), |
823 | GNUNET_NO, &GNUNET_GETOPT_set_one, &request_peers}, | 823 | GNUNET_NO, &GNUNET_GETOPT_set_one, &request_peers}, |