Skip to content

Commit 10d30d5

Browse files
authored
Update DLR (#1719)
1 parent 50ae6e9 commit 10d30d5

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Src/IronPythonConsole/Console.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ protected override LanguageSetup CreateLanguageSetup() {
4848

4949
protected override IConsole CreateConsole(ScriptEngine engine, CommandLine commandLine, ConsoleOptions options) {
5050
PythonConsoleOptions pyoptions = (PythonConsoleOptions)options;
51-
return pyoptions.BasicConsole ? new BasicConsole(options.ColorfulConsole) : new SuperConsole(commandLine, options.ColorfulConsole);
51+
return pyoptions.BasicConsole ? new BasicConsole(options) : new SuperConsole(commandLine, options);
5252
}
5353

5454
protected override ConsoleOptions ParseOptions(string[] args, ScriptRuntimeSetup runtimeSetup, LanguageSetup languageSetup) {
@@ -84,7 +84,7 @@ static string GetVersionString(string displayName) {
8484
public override void PrintLanguageHelp(StringBuilder output) {
8585
new PythonOptionsParser().GetHelp(out string commandLine, out string[,] options, out string[,] environmentVariables, out string comments);
8686

87-
// only display language specific options if one or more optinos exists.
87+
// only display language specific options if one or more options exist
8888
if (commandLine != null || options != null || environmentVariables != null || comments != null) {
8989
var appendLine = false;
9090

0 commit comments

Comments
 (0)