This repository was archived by the owner on Jan 12, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ type FormatArguments =
2020 [<Option( " qsharp-version" , SetName = " INPUT_FILES" , HelpText = " Option to provide a Q# version to the tool." ) >]
2121 QdkVersion: string
2222 [<Option( 'i' ,
23- " inputs " ,
23+ " input " ,
2424 SetName = " INPUT_FILES" ,
2525 Required = true ,
2626 Min = 1 ,
@@ -77,7 +77,7 @@ type UpdateArguments =
7777 [<Option( " qsharp-version" , SetName = " INPUT_FILES" , HelpText = " Option to provide a Q# version to the tool." ) >]
7878 QdkVersion: string
7979 [<Option( 'i' ,
80- " inputs " ,
80+ " input " ,
8181 SetName = " INPUT_FILES" ,
8282 Required = true ,
8383 Min = 1 ,
@@ -133,7 +133,7 @@ type Arguments =
133133 RecurseFlag: bool
134134 BackupFlag: bool
135135 QSharp_Version: Version option
136- Inputs : string list
136+ Input : string list
137137 }
138138
139139module Arguments =
@@ -158,7 +158,7 @@ module Arguments =
158158
159159 if List.isEmpty errors then
160160
161- let inputs , version =
161+ let input , version =
162162 if isNull arguments.ProjectFile then
163163 arguments.InputFiles |> Seq.toList, arguments.QdkVersion |> Option.ofObj
164164 else
@@ -176,7 +176,7 @@ module Arguments =
176176 RecurseFlag = arguments.Recurse
177177 BackupFlag = arguments.Backup
178178 QSharp_ Version = qsharp_ version
179- Inputs = inputs
179+ Input = input
180180 }
181181 |> Result.Ok
182182 else
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ module Microsoft.Quantum.QsFmt.App.Arguments
7777 QSharp_Version: Version option
7878
7979 /// The paths to the files to process.
80- Inputs : string list
80+ Input : string list
8181 }
8282
8383 module internal Arguments =
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ let run arguments inputs =
7676
7777let runUpdate ( arguments : UpdateArguments ) =
7878 match Arguments.fromUpdateArguments arguments with
79- | Ok args -> args.Inputs |> run args
79+ | Ok args -> args.Input |> run args
8080 | Error errorCode -> errorCode
8181
8282let runFormat ( arguments : FormatArguments ) =
@@ -90,7 +90,7 @@ let runFormat (arguments: FormatArguments) =
9090 }
9191
9292 match Arguments.fromUpdateArguments asUpdateArguments with
93- | Ok args -> args.Inputs |> run { args with CommandKind = Format }
93+ | Ok args -> args.Input |> run { args with CommandKind = Format }
9494 | Error errorCode -> errorCode
9595
9696[<CompiledName " Main" >]
You can’t perform that action at this time.
0 commit comments