Skip to content

Commit

Permalink
Choices for --output-style in small caps
Browse files Browse the repository at this point in the history
  • Loading branch information
d3xter666 committed Dec 5, 2023
1 parent 61024e7 commit 39d6d9b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/cli/commands/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ build.builder = function(cli) {
"type 'application' always result in a flat output." +
"No other dependencies can be included in the build result.",
type: "string",
default: "Default",
choices: ["Default", "Flat", "Namespace"],
default: "default",
choices: ["default", "flat", "namespace"],
})
.example("ui5 build", "Preload build for project without dependencies")
.example("ui5 build self-contained", "Self-contained build for project")
Expand Down Expand Up @@ -188,7 +188,7 @@ async function handleBuild(argv) {
includedTasks: argv["include-task"],
excludedTasks: argv["exclude-task"],
cssVariables: argv["experimental-css-variables"],
outputStyle: argv["output-style"],
outputStyle: (argv["output-style"].charAt(0).toUpperCase() + argv["output-style"].slice(1)),
});
}

Expand Down

0 comments on commit 39d6d9b

Please sign in to comment.