more concise output
This commit is contained in:
parent
82161e60bc
commit
35a56962fc
@ -45,12 +45,12 @@ function plotattr(attrtype::Symbol, attribute::AbstractString)
|
|||||||
desc = strip(desc[first_period_idx+1:end])
|
desc = strip(desc[first_period_idx+1:end])
|
||||||
als = keys(filter((_,v)->v==attribute, _keyAliases)) |> collect |> sort
|
als = keys(filter((_,v)->v==attribute, _keyAliases)) |> collect |> sort
|
||||||
als = join(map(string,als), ", ")
|
als = join(map(string,als), ", ")
|
||||||
|
def = _attribute_defaults[attrtype][attribute]
|
||||||
|
|
||||||
|
|
||||||
# Looks up the different elements and plots them
|
# Looks up the different elements and plots them
|
||||||
println("$attribute ($attrtype attribute)")
|
println("$attribute ", typedesc == "" ? "" : "{$typedesc}")
|
||||||
println("Aliases: $als \n")
|
als == "" || println("$als")
|
||||||
println("Default: $(_attribute_defaults[attrtype][attribute])\t(Type: $typedesc)\n")
|
println("\n",desc)
|
||||||
println("Description: ")
|
println("$(attrtype) attribute, ", def == "" ? "" : " default: $def")
|
||||||
println(desc)
|
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user