Skip to content

Commit 30989cc

Browse files
committed
fix typo in src/gnb_argv.c: whith --> with
Signed-off-by: xiao sheng wen(肖盛文) <[email protected]>
1 parent ff6ef8e commit 30989cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/gnb_argv.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1082,7 +1082,7 @@ static void show_useage(int argc,char *argv[]){
10821082
printf(" -q, --quiet disabled console output\n");
10831083
printf(" -t, --selftest self test\n");
10841084
printf(" -p, --passcode a hexadecimal string of 32-bit unsigned integer,use to strengthen safety default:0x9d078107\n");
1085-
printf(" -U, --unified-forwarding \"off\",\"force\",\"auto\",\"super\",\"hyper\" default:\"auto\"; cannot be used whith --pf-worker\n");
1085+
printf(" -U, --unified-forwarding \"off\",\"force\",\"auto\",\"super\",\"hyper\" default:\"auto\"; cannot be used with --pf-worker\n");
10861086

10871087

10881088
printf(" -l, --listen listen address default:\"0.0.0.0:9001\"\n");
@@ -1132,7 +1132,7 @@ static void show_useage(int argc,char *argv[]){
11321132
printf(" --node-detect-worker \"on\",\"off\" default:\"on\"\n");
11331133

11341134
#ifdef __UNIX_LIKE_OS__
1135-
printf(" --pf-worker [0-128] number of the packet filter worker default:0; cannot be used whith --unified-forwarding, only for unix-like os\n");
1135+
printf(" --pf-worker [0-128] number of the packet filter worker default:0; cannot be used with --unified-forwarding, only for unix-like os\n");
11361136
#endif
11371137

11381138

0 commit comments

Comments
 (0)