Skip to content

Commit

Permalink
doc: "registry-add" to "registry add" in documentation, see issue #988.
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikekre committed Jan 17, 2019
1 parent 96583ea commit d479945
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/generate.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function generate(io, command)
<section class="docstring">
<div class="docstring-header">
<a class="docstring-binding" id="repl-$(command)" href="#repl-$(command)">
<code>$(command)</code>
<code>$(replace(command, "-" => " "))</code>
</a>
<span class="docstring-category">REPL command</span>
Expand Down
2 changes: 1 addition & 1 deletion src/REPLMode.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1467,7 +1467,7 @@ Multiple commands can be given on the same line by interleaving a `;` between th

for command in canonical_names()
spec = CommandSpec(command)
push!(help.content, Markdown.parse("`$command`: $(spec.description)"))
push!(help.content, Markdown.parse("`$(replace(command, "-" => " "))`: $(spec.description)"))
end

end #module

0 comments on commit d479945

Please sign in to comment.