foreach (CliOption option in res.CommandResult.Command.Options)
{
OptionResult optionResult = res.GetResult(option);
- if (optionResult is null || option.Name == "make-repro-path")
+ if (optionResult is null || option.Name == "--make-repro-path")
{
continue;
}
}
foreach (string inputFile in dictionary.Values)
{
- rspFile.Add($"--{option.Name}:{ConvertFromOriginalPathToReproPackagePath(input: true, inputFile)}");
+ rspFile.Add($"{option.Name}:{ConvertFromOriginalPathToReproPackagePath(input: true, inputFile)}");
}
}
else
foreach (string optInList in values)
{
if (!string.IsNullOrEmpty(optInList))
- rspFile.Add($"--{option.Name}:{optInList}");
+ rspFile.Add($"{option.Name}:{optInList}");
}
}
}
// if output option is used, overwrite the path to the repro package
stringVal = ConvertFromOriginalPathToReproPackagePath(input: false, stringVal);
}
- rspFile.Add($"--{option.Name}:{stringVal}");
+ rspFile.Add($"{option.Name}:{stringVal}");
}
else
{
- rspFile.Add($"--{option.Name}:{val}");
+ rspFile.Add($"{option.Name}:{val}");
}
}
}