mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-11-02 07:53:43 +00:00
update usage
This commit is contained in:
+1
-1
@@ -115,7 +115,7 @@ static void server_recv_cb (EV_P_ ev_io *w, int revents) {
|
||||
|
||||
if (r == 0) {
|
||||
// connection closed
|
||||
remote->buf = 0;
|
||||
remote->buf_len = 0;
|
||||
close_and_free_server(EV_A_ server);
|
||||
if (remote != NULL) {
|
||||
ev_io_start(EV_A_ &remote->send_ctx->io);
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@ void usage() {
|
||||
printf(" Shadowsocks-libev %s\n\n", VERSION);
|
||||
printf(" maintained by Max Lv <max.c.lv@gmail.com>\n\n");
|
||||
printf(" usage:\n\n");
|
||||
printf(" ss-[local|server] -s server_host -p server_port -l local_port -k password\n");
|
||||
printf(" ss-[local|redir|server] -s server_host -p server_port -l local_port -k password\n");
|
||||
printf(" [-m encrypt_method] [-f pid_file] [-t timeout] [-c config_file]\n");
|
||||
printf("\n");
|
||||
printf(" options:\n\n");
|
||||
|
||||
Reference in New Issue
Block a user