refactor(headless): N2 rename HeadlessCommandLine.Console to ConsoleEnabled
"Console" read as if it might mean System.Console; ConsoleEnabled says what the flag actually gates. Pure rename, no behavior change. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
parent
97b1c9f6ce
commit
215442dc1d
3 changed files with 4 additions and 4 deletions
|
|
@ -5,7 +5,7 @@ internal sealed record HeadlessCommandLine(
|
|||
string ConfigurationPath,
|
||||
HeadlessPathOverrides Paths,
|
||||
HeadlessDirectCredentials? DirectCredentials,
|
||||
bool Console = false)
|
||||
bool ConsoleEnabled = false)
|
||||
{
|
||||
internal static HeadlessCommandLine Parse(
|
||||
IReadOnlyList<string> arguments)
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ internal static class HeadlessEntryPoint
|
|||
if (commandLine.Command == "run")
|
||||
{
|
||||
bool consoleEnabled = HeadlessConsoleOptions.Resolve(
|
||||
commandLine.Console,
|
||||
commandLine.ConsoleEnabled,
|
||||
standardInputIsTerminal);
|
||||
using var host = new HeadlessProcessHost(
|
||||
configuration,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue