diff options
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/nngcat/nngcat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/nngcat/nngcat.c b/tools/nngcat/nngcat.c index 8c8ce34f..4e61d41a 100644 --- a/tools/nngcat/nngcat.c +++ b/tools/nngcat/nngcat.c @@ -105,7 +105,7 @@ static nng_optspec opts[] = { { .o_name = "pair1", .o_val = OPT_PAIR1 }, { .o_name = "bus0", .o_val = OPT_BUS0 }, { .o_name = "dial", .o_val = OPT_DIAL, .o_arg = true }, - { .o_name = "listen", .o_val = OPT_DIAL, .o_arg = true }, + { .o_name = "listen", .o_val = OPT_LISTEN, .o_arg = true }, { .o_name = "data", .o_short = 'D', .o_val = OPT_DATA, .o_arg = true }, { .o_name = "file", .o_short = 'F', .o_val = OPT_FILE, .o_arg = true }, { .o_name = "subscribe", .o_val = OPT_SUBSCRIBE, .o_arg = true }, |
