diff options
Diffstat (limited to 'networking/nc_bloaty.c')
-rw-r--r-- | networking/nc_bloaty.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/networking/nc_bloaty.c b/networking/nc_bloaty.c index 3db7849..6409864 100644 --- a/networking/nc_bloaty.c +++ b/networking/nc_bloaty.c @@ -787,11 +787,15 @@ int nc_main(int argc UNUSED_PARAM, char **argv) e_found: // -g -G -t -r deleted, unimplemented -a deleted too - opt_complementary = "?2:vv:ll"; /* max 2 params; -v and -l are counters; -w N */ - getopt32(argv, "np:s:uvw:+" IF_NC_SERVER("lk") - IF_NC_EXTRA("i:o:z"), - &str_p, &str_s, &o_wait - IF_NC_EXTRA(, &str_i, &str_o), &o_verbose IF_NC_SERVER(, &cnt_l)); + getopt32(argv, "^" + "np:s:uvw:+"/* -w N */ IF_NC_SERVER("lk") + IF_NC_EXTRA("i:o:z") + "\0" + "?2:vv:ll", /* max 2 params; -v and -l are counters */ + &str_p, &str_s, &o_wait + IF_NC_EXTRA(, &str_i, &str_o) + , &o_verbose IF_NC_SERVER(, &cnt_l) + ); argv += optind; #if ENABLE_NC_EXTRA if (option_mask32 & OPT_i) /* line-interval time */ |