summaryrefslogtreecommitdiffstats
path: root/opennhrp-model.lua
diff options
context:
space:
mode:
authorMika Havela <mika.havela@gmail.com>2008-03-31 15:35:57 +0000
committerMika Havela <mika.havela@gmail.com>2008-03-31 15:35:57 +0000
commit0cd84aec11e0a54ab6e6beae46813e4e71ba27bd (patch)
treedb4fb022cecad1afd6d5ce3c7738d34df3e75452 /opennhrp-model.lua
parentc673190e23ddccd06e6365b2e1f35f446c0fcddd (diff)
downloadacf-opennhrp-0cd84aec11e0a54ab6e6beae46813e4e71ba27bd.tar.bz2
acf-opennhrp-0cd84aec11e0a54ab6e6beae46813e4e71ba27bd.tar.xz
Added description to the different types.
git-svn-id: svn://svn.alpinelinux.org/acf/opennhrp/trunk@865 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'opennhrp-model.lua')
-rw-r--r--opennhrp-model.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/opennhrp-model.lua b/opennhrp-model.lua
index af5046f..f809283 100644
--- a/opennhrp-model.lua
+++ b/opennhrp-model.lua
@@ -75,6 +75,8 @@ local function opennhrpctl_show()
if (string.lower(k) == "type") then
local tooltip = string.match(v,"^.-:%s?(.*)")
cmd_output_result_table[cnt]["Tooltip"] = type_status[tooltip]
+ local typestatus = string.lower(string.match(v,"^.-:%s?(.*)"))
+ cmd_output_result_table[cnt]['type_descr']=(type_status[typestatus] or "")
end
end
end