diff --git a/source/types.ts b/source/types.ts index 9294d7c3..e54a8167 100644 --- a/source/types.ts +++ b/source/types.ts @@ -81,7 +81,6 @@ export declare interface Options { '--no-etag': boolean; '--symlinks': boolean; '--cors': boolean; - '--no-port-switching': boolean; '--ssl-cert': Path; '--ssl-key': Path; '--ssl-pass': string; diff --git a/source/utilities/cli.ts b/source/utilities/cli.ts index 726c5268..5298876b 100644 --- a/source/utilities/cli.ts +++ b/source/utilities/cli.ts @@ -64,8 +64,6 @@ const helpText = chalkTemplate` --ssl-pass Optional path to the SSL/TLS certificate\'s passphrase - --no-port-switching Do not open a port other than the one specified when it\'s taken. - {bold ENDPOINTS} Listen endpoints (specified by the {bold --listen} or {bold -l} options above) instruct {cyan serve} @@ -155,7 +153,6 @@ const options = { '--no-etag': Boolean, '--symlinks': Boolean, '--cors': Boolean, - '--no-port-switching': Boolean, '--ssl-cert': String, '--ssl-key': String, '--ssl-pass': String, diff --git a/tests/__snapshots__/cli.test.ts.snap b/tests/__snapshots__/cli.test.ts.snap index 9cddf0e0..010e7d09 100644 --- a/tests/__snapshots__/cli.test.ts.snap +++ b/tests/__snapshots__/cli.test.ts.snap @@ -53,8 +53,6 @@ exports[`utilities/cli > render help text 1`] = ` --ssl-pass Optional path to the SSL/TLS certificate's passphrase - --no-port-switching Do not open a port other than the one specified when it's taken. - ENDPOINTS Listen endpoints (specified by the --listen or -l options above) instruct serve