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 <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Minwoo Jung <[email protected]>
Reviewed-By: Anto Aravinth <[email protected]>
Reviewed-By: Gus Caplan <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Sakthipriyan Vairamani <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • 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.