Skip to content

Commit

Permalink
tls: make --enable-legacy-cipher-list=val less verbose
Browse files Browse the repository at this point in the history
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: nodejs/node-v0.x-archive#14414
  • Loading branch information
jasnell committed Apr 8, 2015
1 parent f9291a9 commit b5737bb
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/node.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2938,9 +2938,7 @@ static void PrintHelp() {
" --enable-ssl3 enable ssl3\n"
" --cipher-list=val specify the default TLS cipher list\n"
" --enable-legacy-cipher-list=val \n"
" set to v0.10.38 to use the v0.10.38 list,\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"
" val = v0.10.38, v0.10.39, or v0.12.2\n"
"\n"
"Environment variables:\n"
#ifdef _WIN32
Expand All @@ -2959,10 +2957,8 @@ static void PrintHelp() {
#endif
#endif
"NODE_CIPHER_LIST Override the default TLS cipher list\n"
"NODE_LEGACY_CIPHER_LIST\n"
" Set to v0.10.38 to use the v0.10.38 list.\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"
"NODE_LEGACY_CIPHER_LIST=val\n"
" val = v0.10.38, v0.10.39, or v0.12.2\n"
"\n"
"Documentation can be found at http://nodejs.org/\n");
}
Expand Down

0 comments on commit b5737bb

Please sign in to comment.