aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/luarocks/show.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/luarocks/show.lua b/src/luarocks/show.lua
index fcdffb9c..82568d13 100644
--- a/src/luarocks/show.lua
+++ b/src/luarocks/show.lua
@@ -110,8 +110,10 @@ function run(...)
110 print() 110 print()
111 print(rockspec.package.." "..rockspec.version.." - "..descript.summary) 111 print(rockspec.package.." "..rockspec.version.." - "..descript.summary)
112 print() 112 print()
113 print(format_text(descript.detailed)) 113 if descript.detailed then
114 print() 114 print(format_text(descript.detailed))
115 print()
116 end
115 if descript.license then 117 if descript.license then
116 print("License: ", descript.license) 118 print("License: ", descript.license)
117 end 119 end