Skip to content

Commit 4f30d19

Browse files
committed
Fix silly errors
1 parent d8a059a commit 4f30d19

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/Cli/dotnet/Commands/Tool/Run/ToolRunCommandParser.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ private static Command ConstructCommand()
5454
command.Arguments.Add(CommandArgument);
5555
command.Options.Add(RollForwardOption);
5656
command.Options.Add(FromSourceOption);
57-
command.Options.Add(FromSourceToolManifestOption);
5857
command.Options.Add(FromSourceConfigFile);
5958
command.Options.Add(FromSourceSourceOption);
6059
command.Options.Add(FromSourceAddSourceOption);

src/Cli/dotnet/Commands/Tool/Run/ToolRunFromSourceCommand.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ internal class ToolRunFromSourceCommand(
2525
private readonly string[] _sources = result.GetValue(ToolRunCommandParser.FromSourceSourceOption) ?? [];
2626
private readonly string[] _addSource = result.GetValue(ToolRunCommandParser.FromSourceAddSourceOption) ?? [];
2727
private readonly bool _ignoreFailedSources = result.GetValue(ToolCommandRestorePassThroughOptions.IgnoreFailedSourcesOption);
28-
private readonly bool _interactive = result.GetValue(ToolCommandRestorePassThroughOptions.InteractiveOption);
29-
private readonly VerbosityOptions _verbosity = result.GetValue(ToolRunCommandParser.VerbosityOption) ?? VerbosityOptions.normal;
28+
private readonly bool _interactive = result.GetValue(ToolCommandRestorePassThroughOptions.InteractiveRestoreOption);
29+
private readonly VerbosityOptions _verbosity = result.GetValue(ToolRunCommandParser.VerbosityOption);
3030

3131
public override int Execute()
3232
{

0 commit comments

Comments
 (0)