Fix up some docstrings

This commit is contained in:
Chris de Graaf 2017-08-25 01:25:26 -05:00
parent bc36fba22a
commit 9f4cb1d522
2 changed files with 5 additions and 5 deletions

View File

@ -11,7 +11,7 @@ const LICENSES = Dict(
)
"""
available_licenses([io]) -> Void
available_licenses([io::IO]) -> Void
Print the names of all available licenses.
"""
@ -27,10 +27,10 @@ show_license(io::IO, license::AbstractString) = println(io, read_license(license
show_license(license::AbstractString) = show_license(STDOUT, license)
"""
read_license(licence::AbstractString) -> String
read_license(license::AbstractString) -> String
Returns the contents of `license`. Errors if it is not found. Use [`show_license`](@ref) to
view available licenses.
Returns the contents of `license`. Errors if it is not found. Use
[`available_licenses`](@ref) to view available licenses.
"""
function read_license(license::AbstractString)
path = joinpath(LICENSE_DIR, license)

View File

@ -110,7 +110,7 @@ create a template, you can use [`interactive_template`](@ref) instead.
end
"""
interactive_template(; fast::Bool) -> Template
interactive_template(; fast::Bool=false) -> Template
Interactively create a [`Template`](@ref). If `fast` is set, defaults will be assumed for
all values except username and plugins.