Skip to content

Commit

Permalink
Apply more comments from review
Browse files Browse the repository at this point in the history
  • Loading branch information
vbfox committed Mar 12, 2018
1 parent c9d5d4b commit 35a8a9e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Argu/PreCompute.fs
Original file line number Diff line number Diff line change
Expand Up @@ -433,8 +433,7 @@ let rec private preComputeUnionCaseArgInfo (stack : Type list) (helpParam : Help

yield!
attributes.Value
|> Array.filter (fun x -> x :? AltCommandLineAttribute)
|> Array.collect(fun x -> (x :?> AltCommandLineAttribute).Names)
|> Array.collect(function | :? AltCommandLineAttribute as a -> a.Names | _ -> [||])
]

for name in cliNames do validateCliParam name
Expand Down

0 comments on commit 35a8a9e

Please sign in to comment.