diff --git a/docs/generate.jl b/docs/generate.jl index bad46076f8..c34a8f3968 100644 --- a/docs/generate.jl +++ b/docs/generate.jl @@ -8,7 +8,7 @@ function generate(io, command)
- $(command) + $(replace(command, "-" => " ")) REPL command diff --git a/src/REPLMode.jl b/src/REPLMode.jl index 62c181528b..b44e875e1c 100644 --- a/src/REPLMode.jl +++ b/src/REPLMode.jl @@ -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