summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAuke Kok <auke-jan.h.kok@intel.com>2015-01-15 23:05:10 -0800
committerAuke Kok <auke-jan.h.kok@intel.com>2015-01-15 23:05:10 -0800
commit7eea34cb3e9098402a45366b4ceee9dfae4ad796 (patch)
tree1b49caf62794e8b5a622f525166d999ef6cd4e03
parent919e555e1a9cc22cca0d611c78a7ac33d8a61a04 (diff)
Display operation params with stats
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index ac8172e..d0a488f 100644
--- a/init.lua
+++ b/init.lua
@@ -467,6 +467,7 @@ local function sedcmd(name, param)
local paramlist = string.split(param, " ")
if paramlist[1] == "stats" then
local output = "Sedimentology mod statistics:" ..
+ "\nradius: " .. radius .. ", blocks: " .. count ..
"\nconsidered: " .. stat_considered ..
"\ndisplaced: " .. stat_displaced ..
"\ndegraded: " .. stat_degraded
@@ -478,7 +479,6 @@ local function sedcmd(name, param)
else
return true, "Blocks: " .. count
end
-
end
return true, "Command completed succesfully"
end