We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5caabed commit 257d60fCopy full SHA for 257d60f
src/FSharp.SystemCommandLine/Inputs.fs
@@ -127,9 +127,9 @@ type Input =
127
| [ token ] -> MaybeParser.parseTokenValue token.Value
128
| _ :: _ -> failwith "F# Option can only be used with a single argument."
129
),
130
- description = (description |> Option.defaultValue null),
131
- isDefault = true
+ description = (description |> Option.defaultValue null)
132
)
+ |> fun o -> o.SetDefaultValue(None); o
133
|> HandlerInput.OfArgument
134
135
/// Creates an injected dependency input.
0 commit comments