Skip to content

Commit

Permalink
lib: merge 'undefined' into one 'break' branch
Browse files Browse the repository at this point in the history
We don't need to split this alone, but just merge it into the 'break'
switch branch together.

PR-URL: #26039
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
MaleDong authored and targos committed Feb 14, 2019
1 parent f873523 commit 32e6bb3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/internal/main/print_help.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ function getArgDescription(type) {
case 'kNoOp':
case 'kV8Option':
case 'kBoolean':
case undefined:
break;
case 'kHostPort':
return '[host:]port';
Expand All @@ -73,8 +74,6 @@ function getArgDescription(type) {
case 'kString':
case 'kStringList':
return '...';
case undefined:
break;
default:
require('assert').fail(`unknown option type ${type}`);
}
Expand Down

0 comments on commit 32e6bb3

Please sign in to comment.