Skip to content

Commit 36fad3b

Browse files
committed
no args with loglevel should send you into REPL
1 parent ffb2cb2 commit 36fad3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ScriptCs/Argument/ArgumentParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public ScriptCsArgs Parse(string[] args)
2727
commandArgs = Args.Parse<ScriptCsArgs>(args);
2828

2929
//if there is only 1 arg and it is a loglevel, it's also REPL
30-
if(args.Length == 2 && args.Any(x => x.ToLowerInvariant() == "-log"))
30+
if(args.Length == 2 && args.Any(x => x.ToLowerInvariant() == "-loglevel"))
3131
{
3232
commandArgs.Repl = true;
3333
}

0 commit comments

Comments
 (0)