Merge pull request #361 from JunoLab/avi/list

make `list_out_formats` return return just data structure
pull/363/head
Shuhei Kadowaki 2020-06-02 19:57:59 +09:00 committed by GitHub
commit 3e6cda8950
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -32,11 +32,11 @@ end
take2string!(io) = String(take!(io))
"""
list_out_formats(io = stdout)
list_out_formats()
List supported output formats
List supported output formats with its description.
"""
list_out_formats(io = stdout) = for (k, v) in FORMATS; println(io, string(k, ": ", v.description)); end
list_out_formats() = [k => v.description for (k,v) in FORMATS]
"""
tangle(source::AbstractString; kwargs...)