Browse Source

tls: make --enable-legacy-cipher-list=val less verbose

Per feedback on the commit, make the PrintHelp output for
--enable-legacy-cipher-list less verbose.

Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: https://github.com/joyent/node/pull/14414
v0.12.3-release
James M Snell 10 years ago
parent
commit
b5737bb977
  1. 10
      src/node.cc

10
src/node.cc

@ -2938,9 +2938,7 @@ static void PrintHelp() {
" --enable-ssl3 enable ssl3\n" " --enable-ssl3 enable ssl3\n"
" --cipher-list=val specify the default TLS cipher list\n" " --cipher-list=val specify the default TLS cipher list\n"
" --enable-legacy-cipher-list=val \n" " --enable-legacy-cipher-list=val \n"
" set to v0.10.38 to use the v0.10.38 list,\n" " val = v0.10.38, v0.10.39, or v0.12.2\n"
" set to v0.10.39 to use the v0.10.39 list.\n"
" set to v0.12.2 to use the v0.12.2 list.\n"
"\n" "\n"
"Environment variables:\n" "Environment variables:\n"
#ifdef _WIN32 #ifdef _WIN32
@ -2959,10 +2957,8 @@ static void PrintHelp() {
#endif #endif
#endif #endif
"NODE_CIPHER_LIST Override the default TLS cipher list\n" "NODE_CIPHER_LIST Override the default TLS cipher list\n"
"NODE_LEGACY_CIPHER_LIST\n" "NODE_LEGACY_CIPHER_LIST=val\n"
" Set to v0.10.38 to use the v0.10.38 list.\n" " val = v0.10.38, v0.10.39, or v0.12.2\n"
" Set to v0.10.39 to use the v0.10.39 list.\n"
" Set to v0.12.2 to use the v0.12.2 list.\n"
"\n" "\n"
"Documentation can be found at http://nodejs.org/\n"); "Documentation can be found at http://nodejs.org/\n");
} }

Loading…
Cancel
Save