From fb56c0117718eddd01ef1761675e534afd4cefbd Mon Sep 17 00:00:00 2001 From: dmiller Date: Wed, 21 Sep 2016 20:04:16 +0000 Subject: [PATCH] Fix a typo in getopt option string causing ncat's -n to consume the next option. --- ncat/ncat_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ncat/ncat_main.c b/ncat/ncat_main.c index 8498d329e..b97887e21 100644 --- a/ncat/ncat_main.c +++ b/ncat/ncat_main.c @@ -334,7 +334,7 @@ int main(int argc, char *argv[]) while (1) { /* handle command line arguments */ int option_index; - int c = getopt_long(argc, argv, "46UCc:e:g:G:i:km:hp:d:lo:x:ts:uvw:n:z", + int c = getopt_long(argc, argv, "46UCc:e:g:G:i:km:hp:d:lo:x:ts:uvw:nz", long_options, &option_index); /* That's the end of the options. */