Skip to content

Commit 899adcb

Browse files
committed
Bug fix
1 parent 3af0149 commit 899adcb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/FSharp.SystemCommandLine/CommandBuilders.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ type CommandBuilder<'A, 'B, 'C, 'D, 'E, 'F, 'G, 'H, 'I, 'J, 'K, 'L, 'M, 'N, 'O,
296296

297297
/// Executes a Command with a handler that returns int.
298298
member this.Run (spec: CommandSpec<'Inputs, int>) =
299-
this.CommandLineBuilder.Command
299+
Command(name)
300300
|> this.SetGeneralProperties spec
301301
|> this.SetFuncHandlerSync spec
302302

0 commit comments

Comments
 (0)