Przeglądaj źródła

update help page

wangyu 6 lat temu
rodzic
commit
f68c6e211d
1 zmienionych plików z 2 dodań i 3 usunięć
  1. 2 3
      misc.cpp

+ 2 - 3
misc.cpp

@@ -144,6 +144,8 @@ void print_help()
 	printf("    -g,--gen-rule                         generate iptables rule then exit,so that you can copy and\n");
 	printf("                                          add it manually.overrides -a\n");
 	printf("    --disable-anti-replay                 disable anti-replay,not suggested\n");
+	printf("    --fix-gro                             try to fix huge packet caused by GRO. this option is at an early stage.\n");
+	printf("                                          make sure client and server are at same version.\n");
 
 	//printf("\n");
 	printf("client options:\n");
@@ -185,10 +187,7 @@ void print_help()
 	printf("    --mtu-warn            <number>        mtu warning threshold, unit:byte, default:1375\n");
 	printf("    --clear                               clear any iptables rules added by this program.overrides everything\n");
 	printf("    --retry-on-error                      retry on error, allow to start udp2raw before network is initialized\n");
-	printf("    --fix-gro                             try to fix huge packet caused by GRO. this option is at an early stage.\n");
-	printf("                                          make sure client and server are at same version\n");
 	printf("    -h,--help                             print this help message\n");
-
 	//printf("common options,these options must be same on both side\n");
 }