Skip to content

Commit

Permalink
fix(ParseResults.ProgramName): Make it public (#231)
Browse files Browse the repository at this point in the history
  • Loading branch information
bartelink authored Feb 19, 2024
1 parent 1dc67c9 commit 6b60199
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### 6.2.1
* Fix `ParseResults.ProgramName` - make it public (cut and paste error in [#229](https://github.com/fsprojects/Argu/pull/229)) [#231](https://github.com/fsprojects/Argu/pull/231)

### 6.2.0
* Add `ParseResults.ProgramName` [#229](https://github.com/fsprojects/Argu/pull/229)
* Add `ParseResults.GetResult(expr, 'Field -> 'R): 'R` as alias for `PostProcessResult`, `ParseResults.GetResults(expr, 'Field -> 'R): 'R list` as alias for `PostProcessResults`, `ParseResults.TryGetResult(expr, 'Field -> 'R): 'R option` as alias for `TryPostProcessResult` [#230](https://github.com/fsprojects/Argu/pull/230)
Expand Down
2 changes: 1 addition & 1 deletion src/Argu/ParseResults.fs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ type ParseResults<[<EqualityConditionalOn; ComparisonConditionalOn>]'Template wh
member x.GetAllResults () = x.GetAllResults() |> Seq.map box

member _.ErrorHandler = exiter
member internal _.ProgramName = programName
member _.ProgramName = programName
member internal _.Description = description
member internal _.ArgInfo = argInfo
member internal _.CharacterWidth = usageStringCharWidth
Expand Down

0 comments on commit 6b60199

Please sign in to comment.