From 6c84ce85e430c6200b26aabeb34522db026d1bd8 Mon Sep 17 00:00:00 2001 From: Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> Date: Fri, 14 Oct 2022 20:16:47 +0200 Subject: ndpiReader: fix help message. There isn't a 'J' option (#1770) --- example/ndpiReader.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'example') 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 " #endif "[-f ][-s ][-m ][-b ]\n" - " [-p ][-l [-q][-d][-J][-h][-H][-D][-e ][-E][-t][-v ]\n" + " [-p ][-l [-q][-d][-h][-H][-D][-e ][-E][-t][-v ]\n" " [-n ][-w ][-c ][-C ][-j ][-x ]\n" " [-r ][-j ][-S ][-T ][-U ] [-x ][-z]\n" " [-a ]\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 : ""); -- cgit v1.2.3