6 references to s_forceOption
aspire (6)
Commands\StopCommand.cs (5)
130
Options.Add(
s_forceOption
);
156
var force = parseResult.GetValue(
s_forceOption
);
211
return CommandResult.Failure(CliExitCodes.InvalidCommand, string.Format(CultureInfo.CurrentCulture, StopCommandStrings.AllAndProjectMutuallyExclusive, s_pidOption.Name, stopAll ? s_allOption.Name : force ?
s_forceOption
.Name : s_volumesOption.Name));
227
return CommandResult.Failure(CliExitCodes.InvalidCommand, string.Format(CultureInfo.InvariantCulture, StopCommandStrings.AllAndProjectMutuallyExclusive, s_allOption.Name,
s_forceOption
.Name));
232
return CommandResult.Failure(CliExitCodes.InvalidCommand, string.Format(CultureInfo.InvariantCulture, StopCommandStrings.VolumesRequiresForce, s_volumesOption.Name,
s_forceOption
.Name));
Commands\StopCommand.TrayProtocol.cs (1)
60
parseResult.GetResult(
s_forceOption
) is { Implicit: false } ||