Skip to content

Commit 26d7b26

Browse files
committed
Updated console test.
1 parent 4667d69 commit 26d7b26

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/TestConsole/ProgramAlt1.fs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ open System.IO
44
open System.CommandLine
55
open FSharp.SystemCommandLine.Aliases
66
open System.Threading
7-
open System.Threading.Tasks
87

98
let intOption = Opt<int>("int-option", [|"--int-option"|], Description = "An option whose argument is parsed as an int")
109
intOption.DefaultValueFactory <- fun _ -> 42

src/TestConsole/ProgramTokenReplacer.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module SCL =
1818
cmd.Add(packageOpt)
1919
cmd.SetAction(action)
2020

21-
cmd.Parse(argv).Invoke()
21+
cmd.Parse(argv, cfg).Invoke()
2222

2323

2424
open FSharp.SystemCommandLine

0 commit comments

Comments
 (0)