Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

Commit 3f58ce6

Browse files
committed
tls: make --enable-legacy-cipher-list less verbose
Based on commit feedback, make the PrintHelp for --enable-legacy-cipher-list less verbose. Reviewed-By: James M Snell <jasnell@gmail.com> PR-URL: #14383
1 parent 1bf1546 commit 3f58ce6

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

src/node.cc

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2938,10 +2938,7 @@ static void PrintHelp() {
29382938
" --enable-ssl3 enable ssl3\n"
29392939
" --cipher-list=val specify the default TLS cipher list\n"
29402940
" --enable-legacy-cipher-list=val \n"
2941-
" set to v0.10.38 to use the v0.10.38 list,\n"
2942-
" set to v0.10.39 to use the v0.10.39 list.\n"
2943-
" set to v0.12.2 to use the v0.12.2 list.\n"
2944-
" set to v0.12.3 to use the v0.12.3 list.\n"
2941+
" val = v0.10.38, v0.10.39, v0.12.2 or v0.12.3\n"
29452942
"\n"
29462943
"Environment variables:\n"
29472944
#ifdef _WIN32
@@ -2960,11 +2957,8 @@ static void PrintHelp() {
29602957
#endif
29612958
#endif
29622959
"NODE_CIPHER_LIST Override the default TLS cipher list\n"
2963-
"NODE_LEGACY_CIPHER_LIST\n"
2964-
" Set to v0.10.38 to use the v0.10.38 list,\n"
2965-
" Set to v0.10.39 to use the v0.10.39 list.\n"
2966-
" Set to v0.12.2 to use the v0.12.2 list.\n"
2967-
" Set to v0.12.3 to use the v0.12.3 list.\n"
2960+
"NODE_LEGACY_CIPHER_LIST=val\n"
2961+
" val = v0.10.38, v0.10.39, v0.12.2 or v0.12.3\n"
29682962
"\n"
29692963
"Documentation can be found at http://nodejs.org/\n");
29702964
}

0 commit comments

Comments
 (0)