Skip to content

Commit dcd1d63

Browse files
committed
[INTERNAL] Apply UA review to CLI texts
1 parent e295121 commit dcd1d63

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,15 +109,15 @@ Options:
109109
--verbose Enable verbose logging. [boolean]
110110
--loglevel Set the logging level (error|warn|info|verbose|silly). [string] [default: "info"]
111111
--port, -p Port to bind on (default for HTTP: 8080, HTTP/2: 8443) [number]
112-
--open, -o Open webserver root directory in default browser. Optionally, supplied relative path will be appended to the root URL [string]
113-
--h2 Shortcut for enabling the HTTP/2 protocol for the webserver [boolean] [default: false]
112+
--open, -o Open web server root directory in default browser. Optionally, supplied relative path will be appended to the root URL [string]
113+
--h2 Shortcut for enabling the HTTP/2 protocol for the web server [boolean] [default: false]
114114
--accept-remote-connections Accept remote connections. By default the server only accepts connections from localhost [boolean] [default: false]
115115
--key Path to the private key [string] [default: "$HOME/.ui5/server/server.key"]
116116
--cert Path to the certificate [string] [default: "$HOME/.ui5/server/server.crt"]
117117
118118
Examples:
119-
ui5 serve Start a webserver for the current project
120-
ui5 serve --h2 Enable the HTTP/2 protocol for the webserver (requires SSL certificate)
119+
ui5 serve Start a web server for the current project
120+
ui5 serve --h2 Enable the HTTP/2 protocol for the web server (requires SSL certificate)
121121
ui5 serve --config /path/to/ui5.yaml Use the project configuration from a custom path
122122
ui5 serve --translator static:/path/to/projectDependencies.yaml Use a "static" translator with translator parameters.
123123
ui5 serve --port 1337 --open tests/QUnit.html Listen to port 1337 and launch default browser with http://localhost:1337/test/QUnit.html

lib/cli/commands/serve.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Serve
22
const serve = {
33
command: "serve",
4-
describe: "Start a webserver for the current project",
4+
describe: "Start a web server for the current project",
55
middlewares: [require("../middlewares/base.js")]
66
};
77

@@ -13,12 +13,12 @@ serve.builder = function(cli) {
1313
type: "number"
1414
})
1515
.option("open", {
16-
describe: "Open webserver root directory in default browser. Optionally, supplied relative path will be appended to the root URL",
16+
describe: "Open web server root directory in default browser. Optionally, supplied relative path will be appended to the root URL",
1717
alias: "o",
1818
type: "string"
1919
})
2020
.option("h2", {
21-
describe: "Shortcut for enabling the HTTP/2 protocol for the webserver",
21+
describe: "Shortcut for enabling the HTTP/2 protocol for the web server",
2222
default: false,
2323
type: "boolean"
2424
})
@@ -37,8 +37,8 @@ serve.builder = function(cli) {
3737
default: "$HOME/.ui5/server/server.crt",
3838
type: "string"
3939
})
40-
.example("ui5 serve", "Start a webserver for the current project")
41-
.example("ui5 serve --h2", "Enable the HTTP/2 protocol for the webserver (requires SSL certificate)")
40+
.example("ui5 serve", "Start a web server for the current project")
41+
.example("ui5 serve --h2", "Enable the HTTP/2 protocol for the web server (requires SSL certificate)")
4242
.example("ui5 serve --config /path/to/ui5.yaml", "Use the project configuration from a custom path")
4343
.example("ui5 serve --translator static:/path/to/projectDependencies.yaml",
4444
"Use a \"static\" translator with translator parameters.")

lib/cli/commands/versions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const baseMiddleware = require("../middlewares/base.js");
33

44
const versions = {
55
command: "versions",
6-
describe: "Show versions of all UI5 Tooling modules",
6+
describe: "Shows the versions of all UI5 Tooling modules",
77
middlewares: [baseMiddleware]
88
};
99

0 commit comments

Comments
 (0)