mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 16:57:06 +00:00
Fix a typo in getopt option string causing ncat's -n to consume the next option.
This commit is contained in:
parent
59003c255b
commit
fb56c01177
1 changed files with 1 additions and 1 deletions
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue