Skip to content

Commit 852f5b4

Browse files
committed
[INTERNAL] log-level & cache-mode: Do not list choices in description
Yargs already renders them in a sufficient way. Therefore remove them from the description.
1 parent b44f628 commit 852f5b4

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

lib/cli/base.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default function(cli) {
2727
})
2828
.option("loglevel", {
2929
alias: "log-level",
30-
describe: "Set the logging level (silent|error|warn|info|perf|verbose|silly).",
30+
describe: "Set the logging level",
3131
default: "info",
3232
type: "string",
3333
choices: ["silent", "error", "warn", "info", "perf", "verbose", "silly"]

lib/cli/commands/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ build.builder = function(cli) {
106106
})
107107
.option("cache-mode", {
108108
describe:
109-
"Cache mode to use when consuming SNAPSHOT versions of a framework: 'Default', 'Force', or 'Off'. " +
109+
"Cache mode to use when consuming SNAPSHOT versions of framework dependencies. " +
110110
"The 'Default' behavior is to invalidate the cache after 9 hours. 'Force' uses the cache only and " +
111111
"does not create any requests. 'Off' invalidates any existing cache and updates from the repository",
112112
type: "string",

lib/cli/commands/serve.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ serve.builder = function(cli) {
6767
})
6868
.option("cache-mode", {
6969
describe:
70-
"Cache mode to use when consuming SNAPSHOT versions of a framework: 'Default', 'Force', or 'Off'. " +
70+
"Cache mode to use when consuming SNAPSHOT versions of framework dependencies. " +
7171
"The 'Default' behavior is to invalidate the cache after 9 hours. 'Force' uses the cache only and " +
7272
"does not create any requests. 'Off' invalidates any existing cache and updates from the repository",
7373
type: "string",

lib/cli/commands/tree.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ tree.builder = function(cli) {
2929
})
3030
.option("cache-mode", {
3131
describe:
32-
"Cache mode to use when consuming SNAPSHOT versions of a framework: 'Default', 'Force', or 'Off'. " +
32+
"Cache mode to use when consuming SNAPSHOT versions of framework dependencies. " +
3333
"The 'Default' behavior is to invalidate the cache after 9 hours. 'Force' uses the cache only and " +
3434
"does not create any requests. 'Off' invalidates any existing cache and updates from the repository",
3535
type: "string",

0 commit comments

Comments
 (0)