Browse Source

typo fix: avaliable -> available

pull/29/head
Zhang Yi 11 years ago
parent
commit
16516b3767
2 changed files with 7 additions and 7 deletions
  1. 6
      README.md
  2. 8
      src/utils.c

6
README.md

@ -219,11 +219,11 @@ ss-[local|redir|server]
[-c <config_file>] json format config file [-c <config_file>] json format config file
[-i <interface>] specific network interface to bind, [-i <interface>] specific network interface to bind,
only avaliable in local and server modes
only available in local and server modes
[-b <local_address>] specific local address to bind, [-b <local_address>] specific local address to bind,
only avaliable in local and redir modes
only available in local and redir modes
[-u] udprelay mode to supprot udp traffic [-u] udprelay mode to supprot udp traffic
only avaliable in local and server modes
only available in local and server modes
[-v] verbose mode, debug output in console [-v] verbose mode, debug output in console
notes: notes:

8
src/utils.c

@ -81,7 +81,7 @@ void usage()
printf(" maintained by Max Lv <max.c.lv@gmail.com>\n\n"); printf(" maintained by Max Lv <max.c.lv@gmail.com>\n\n");
printf(" usage:\n\n"); printf(" usage:\n\n");
printf(" ss-[local|redir|server]\n"); printf(" ss-[local|redir|server]\n");
printf(" -s <server_host> host name or ip address of your remote server\n");
printf(" -s <server_host> host name or ip address of your remote server\n");
printf(" -p <server_port> port number of your remote server\n"); printf(" -p <server_port> port number of your remote server\n");
printf(" -l <local_port> port number of your local server\n"); printf(" -l <local_port> port number of your local server\n");
printf(" -k <password> password of your remote server\n"); printf(" -k <password> password of your remote server\n");
@ -96,11 +96,11 @@ void usage()
printf(" [-c <config_file>] json format config file\n"); printf(" [-c <config_file>] json format config file\n");
printf("\n"); printf("\n");
printf(" [-i <interface>] specific network interface to bind,\n"); printf(" [-i <interface>] specific network interface to bind,\n");
printf(" only avaliable in local and server modes\n");
printf(" only available in local and server modes\n");
printf(" [-b <local_address>] specific local address to bind,\n"); printf(" [-b <local_address>] specific local address to bind,\n");
printf(" only avaliable in local and redir modes\n");
printf(" only available in local and redir modes\n");
printf(" [-u] udprelay mode to supprot udp traffic\n"); printf(" [-u] udprelay mode to supprot udp traffic\n");
printf(" only avaliable in local and server modes\n");
printf(" only available in local and server modes\n");
printf(" [-v] verbose mode, debug output in console\n"); printf(" [-v] verbose mode, debug output in console\n");
printf("\n"); printf("\n");
} }

Loading…
Cancel
Save