Skip to content

Commit 5869fa5

Browse files
committed
Clarify the description for port option
No need to state --port is optional as it is in the "Options" section and we don't do this for other options. Clarify additional environment variables can be added to the profile manually.
1 parent 5c4fb22 commit 5869fa5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/cli/generate/bundle/options/Port.option.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ export const PortOption: ICommandOptionDefinition = {
1919
name: "port",
2020
aliases: ["p"],
2121
type: "string",
22-
description: "An optional TCP/IP port number that the Node.js application expects to use. " +
23-
"If a value is specified, it is stored within the generated NODEJSAPP's profile " +
24-
"and the associated value can be referenced programmatically by using the 'PORT' " +
25-
"environment variable."
22+
description: "The TCP/IP port number the Node.js application should use for clients to connect to. " +
23+
"If a value is specified, it is set within the generated NODEJSAPP's profile. " +
24+
"The Node.js application can reference this value by accessing the PORT environment variable, " +
25+
"for example using process.env.PORT. " +
26+
"Additional environment variables can be set by manually editing the profile."
2627
};
27-

0 commit comments

Comments
 (0)