Skip to content

Commit 378f324

Browse files
committed
chore: bump version to 1.2.0-beta and fix docstring
1 parent 5f1af3a commit 378f324

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/helpers/descriptive_routing.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ julia> length(defs)
9797
julia> defs[1].name
9898
:initial_guess
9999
julia> defs[1].aliases
100-
(:init, :i)
100+
(:init,)
101101
```
102102
103103
See also: [`_route_descriptive_options`](@ref)

src/helpers/kwarg_extraction.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Raises an error if more than one alias is present simultaneously.
6363
# Examples
6464
```julia
6565
julia> kw = pairs((; init=x0, display=false))
66-
julia> val, rest = OptimalControl._extract_action_kwarg(kw, (:initial_guess, :init, :i), nothing)
66+
julia> val, rest = OptimalControl._extract_action_kwarg(kw, (:initial_guess, :init), nothing)
6767
julia> val === x0
6868
true
6969
```

0 commit comments

Comments
 (0)