From 4699865793412e16205e00f763f1a14f693464fc Mon Sep 17 00:00:00 2001 From: Max Lv Date: Sat, 18 May 2013 18:56:52 +0800 Subject: [PATCH] update usage --- src/utils.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/utils.c b/src/utils.c index 116c02c4..1f621b91 100644 --- a/src/utils.c +++ b/src/utils.c @@ -62,18 +62,19 @@ void FATAL(const char *msg) { void usage() { printf("\n"); - printf(" Shadowsocks-libev %s\n\n", VERSION); + printf("shadowsocks-libev %s\n\n", VERSION); printf(" maintained by Max Lv \n\n"); printf(" usage:\n\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(" ss-[local|redir|server]\n"); + printf(" -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"); printf(" encrypt_method: table, rc4\n"); printf(" pid_file: valid path to the pid file\n"); printf(" timeout: socket timeout in senconds\n"); printf(" config_file: json format config file\n"); - printf("\n\n"); + printf("\n"); } void demonize(const char* path) {