0003-Refine-Usage.patch 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. --- a/src/utils.c
  2. +++ b/src/utils.c
  3. @@ -258,8 +258,6 @@ usage()
  4. {
  5. printf("\n");
  6. printf("shadowsocks-libev %s with %s\n\n", VERSION, USING_CRYPTO);
  7. - printf(
  8. - " maintained by Max Lv <[email protected]> and Linus Yang <[email protected]>\n\n");
  9. printf(" usage:\n\n");
  10. #ifdef MODULE_LOCAL
  11. printf(" ss-local\n");
  12. @@ -299,6 +297,25 @@ usage()
  13. " The default cipher is rc4-md5.\n");
  14. printf("\n");
  15. printf(
  16. + " -o <obfs> Obfs of your remote server: plain,\n");
  17. + printf(
  18. + " http_simple, http_post and tls1.2_ticket_auth.\n");
  19. + printf(
  20. + " -g <obfs-param> Obfs-Param of your remote server.\n");
  21. + printf(
  22. + " -O <protocol> Protocol of your remote server: orgin,\n");
  23. + printf(
  24. + " auth_sha1, auth_sha1_v2, auth_sha1_v4,\n");
  25. + printf(
  26. + " auth_aes128_md5, auth_aes128_sha1,\n");
  27. + printf(
  28. + " auth_chain_a, auth_chain_b, auth_chain_c,\n");
  29. + printf(
  30. + " auth_chain_d, auth_chain_e and auth_chain_f.\n");
  31. + printf(
  32. + " -G <protocol-param> Protocol-Param of your remote server.\n");
  33. + printf("\n");
  34. + printf(
  35. " [-a <user>] Run as another user.\n");
  36. printf(
  37. " [-f <pid_file>] The file path to store pid.\n");