6 references to s_forceOption
aspire (6)
Commands\StopCommand.cs (5)
101
Options.Add(
s_forceOption
);
125
var force = parseResult.GetValue(
s_forceOption
);
139
return CommandResult.Failure(CompleteStopActivity(activity, CliExitCodes.InvalidCommand), string.Format(CultureInfo.CurrentCulture, StopCommandStrings.AllAndProjectMutuallyExclusive, s_pidOption.Name, stopAll ? s_allOption.Name : force ?
s_forceOption
.Name : s_volumesOption.Name));
155
return CommandResult.Failure(CompleteStopActivity(activity, CliExitCodes.InvalidCommand), string.Format(CultureInfo.InvariantCulture, StopCommandStrings.AllAndProjectMutuallyExclusive, s_allOption.Name,
s_forceOption
.Name));
160
return CommandResult.Failure(CompleteStopActivity(activity, 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 } ||