diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2022-10-14 20:16:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-14 20:16:47 +0200 |
commit | 6c84ce85e430c6200b26aabeb34522db026d1bd8 (patch) | |
tree | 568baab013fc23a63dea8508320cb43f9bd950d2 | |
parent | 8c4ece941eff38e435dcc3471b173bd08572e750 (diff) |
ndpiReader: fix help message. There isn't a 'J' option (#1770)
-rw-r--r-- | example/ndpiReader.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c index 8439c410c..2e206b578 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -441,7 +441,7 @@ static void help(u_int long_help) { "-i <file|device> " #endif "[-f <filter>][-s <duration>][-m <duration>][-b <num bin clusters>]\n" - " [-p <protos>][-l <loops> [-q][-d][-J][-h][-H][-D][-e <len>][-E][-t][-v <level>]\n" + " [-p <protos>][-l <loops> [-q][-d][-h][-H][-D][-e <len>][-E][-t][-v <level>]\n" " [-n <threads>][-w <file>][-c <file>][-C <file>][-j <file>][-x <file>]\n" " [-r <file>][-j <file>][-S <file>][-T <num>][-U <num>] [-x <domain>][-z]\n" " [-a <mode>]\n\n" @@ -808,7 +808,7 @@ static void parseOptions(int argc, char **argv) { } #endif - while((opt = getopt_long(argc, argv, "a:Ab:e:Ec:C:dDf:g:i:Ij:k:K:S:hHp:pP:l:r:s:tu:v:V:n:Jrp:x:w:zq0123:456:7:89:m:T:U:", + while((opt = getopt_long(argc, argv, "a:Ab:e:Ec:C:dDf:g:i:Ij:k:K:S:hHp:pP:l:r:s:tu:v:V:n:rp:x:w:zq0123:456:7:89:m:T:U:", longopts, &option_idx)) != EOF) { #ifdef DEBUG_TRACE if(trace) fprintf(trace, " #### Handling option -%c [%s] #### \n", opt, optarg ? optarg : ""); |