changed -h page

This commit is contained in:
wangyu- 2017-11-18 09:51:50 -06:00
parent b01b087949
commit 9162a533d3
2 changed files with 2 additions and 1 deletions

1
images/wiki/111 Normal file
View File

@ -0,0 +1 @@

View File

@ -142,7 +142,6 @@ void print_help()
// printf("\n"); // printf("\n");
printf(" --sock-buf <number> buf size for socket,>=10 and <=10240,unit:kbyte,default:1024\n"); printf(" --sock-buf <number> buf size for socket,>=10 and <=10240,unit:kbyte,default:1024\n");
printf(" --force-sock-buf bypass system limitation while setting sock-buf\n"); printf(" --force-sock-buf bypass system limitation while setting sock-buf\n");
printf(" --mtu-warn <number> mtu warning threshold, unit:byte, default:1375\n");
printf(" --seq-mode <number> seq increase mode for faketcp:\n"); printf(" --seq-mode <number> seq increase mode for faketcp:\n");
printf(" 0:static header,do not increase seq and ack_seq\n"); printf(" 0:static header,do not increase seq and ack_seq\n");
printf(" 1:increase seq for every packet,simply ack last seq\n"); printf(" 1:increase seq for every packet,simply ack last seq\n");
@ -157,6 +156,7 @@ void print_help()
printf(" --gen-add generate iptables rule and add it permanently,then exit.overrides -g\n"); printf(" --gen-add generate iptables rule and add it permanently,then exit.overrides -g\n");
printf(" --keep-rule monitor iptables and auto re-add if necessary.implys -a\n"); printf(" --keep-rule monitor iptables and auto re-add if necessary.implys -a\n");
printf(" --hb-len <number> length of heart-beat packet, >=0 and <=1500\n"); printf(" --hb-len <number> length of heart-beat packet, >=0 and <=1500\n");
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(" --clear clear any iptables rules added by this program.overrides everything\n");
printf(" -h,--help print this help message\n"); printf(" -h,--help print this help message\n");