Skip to content

Commit accc34a

Browse files
CR: Change param names
1 parent b1bbd27 commit accc34a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Razor/Microsoft.AspNetCore.Razor.Tools/src/GenerateCommand.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ public GenerateCommand(Application parent)
2626
Outputs = Option("-o", "Generated output file path", CommandOptionType.MultipleValue);
2727
RelativePaths = Option("-r", "Relative path", CommandOptionType.MultipleValue);
2828
FileKinds = Option("-k", "File kind", CommandOptionType.MultipleValue);
29-
CssScopeSources = Option("-cssscopeinput", "CSS scope source file", CommandOptionType.MultipleValue);
30-
CssScopeValues = Option("-cssscopevalue", "CSS scope value", CommandOptionType.MultipleValue);
29+
CssScopeSources = Option("-cssscopedinput", ".razor file with scoped CSS", CommandOptionType.MultipleValue);
30+
CssScopeValues = Option("-cssscopevalue", "CSS scope value for .razor file with scoped CSS", CommandOptionType.MultipleValue);
3131
ProjectDirectory = Option("-p", "project root directory", CommandOptionType.SingleValue);
3232
TagHelperManifest = Option("-t", "tag helper manifest file", CommandOptionType.SingleValue);
3333
Version = Option("-v|--version", "Razor language version", CommandOptionType.SingleValue);

src/Razor/Microsoft.NET.Sdk.Razor/src/RazorGenerate.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ protected override string GenerateResponseFileCommands()
140140
var cssScope = input.GetMetadata(CssScope);
141141
if (!string.IsNullOrEmpty(cssScope))
142142
{
143-
builder.AppendLine("-cssscopeinput");
143+
builder.AppendLine("-cssscopedinput");
144144
builder.AppendLine(input.GetMetadata(FullPath));
145145
builder.AppendLine("-cssscopevalue");
146146
builder.AppendLine(cssScope);

0 commit comments

Comments
 (0)