From d663267cde22d18e74fdc10d345073df83135c42 Mon Sep 17 00:00:00 2001 From: "Michael K. Borregaard" Date: Thu, 9 Feb 2017 11:12:46 +0100 Subject: [PATCH] improved println call --- src/plotattr.jl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/plotattr.jl b/src/plotattr.jl index b815adef..cc8d053b 100644 --- a/src/plotattr.jl +++ b/src/plotattr.jl @@ -49,8 +49,8 @@ function plotattr(attrtype::Symbol, attribute::AbstractString) # Looks up the different elements and plots them - println("$attribute ", typedesc == "" ? "" : "{$typedesc}") - als == "" || println("$als") - println("\n",desc) - println("$(attrtype) attribute, ", def == "" ? "" : " default: $def") + println("$attribute ", typedesc == "" ? "" : "{$typedesc}", "\n", + als == "" ? "" : "$als\n", + "\n$desc\n", + "$(attrtype) attribute, ", def == "" ? "" : " default: $def") end