Skip to content

Commit 32e6bb3

Browse files
MaleDongtargos
MaleDong
authored andcommitted
lib: merge 'undefined' into one 'break' branch
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>
1 parent f873523 commit 32e6bb3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/internal/main/print_help.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ function getArgDescription(type) {
6565
case 'kNoOp':
6666
case 'kV8Option':
6767
case 'kBoolean':
68+
case undefined:
6869
break;
6970
case 'kHostPort':
7071
return '[host:]port';
@@ -73,8 +74,6 @@ function getArgDescription(type) {
7374
case 'kString':
7475
case 'kStringList':
7576
return '...';
76-
case undefined:
77-
break;
7877
default:
7978
require('assert').fail(`unknown option type ${type}`);
8079
}

0 commit comments

Comments
 (0)