summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames M Snell <jasnell@gmail.com>2015-04-06 11:36:34 -0700
committerJames M Snell <jasnell@gmail.com>2015-04-08 12:10:50 -0700
commitb5737bb97775ff461266d28245df104dde0e6986 (patch)
treeaa9cb29fe6838efb8a26241387fa46e8aba50fbb
parentf9291a94498c6f9d70a74a1e402f333383286120 (diff)
downloadnode-new-b5737bb97775ff461266d28245df104dde0e6986.tar.gz
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
-rw-r--r--src/node.cc10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/node.cc b/src/node.cc
index 303a09196c..972ca44d53 100644
--- a/src/node.cc
+++ b/src/node.cc
@@ -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
@@ -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");
}