# HG changeset patch # User Kim Alvefur # Date 1458573182 -3600 # Node ID c9d03a70a936f6c9b4d2e25d745478aba7e6304a # Parent 75902417ff05e87d7cc802dac607cfaf776c5c6a clix.adhoc: Print field labels if available diff -r 75902417ff05 -r c9d03a70a936 clix/adhoc.lua --- a/clix/adhoc.lua Mon Mar 21 16:12:25 2016 +0100 +++ b/clix/adhoc.lua Mon Mar 21 16:13:02 2016 +0100 @@ -68,7 +68,7 @@ end for i, item in ipairs(command_form_layout) do if item.type ~= "hidden" then - print("== " .. item.name .. " ==") + print("== " .. (item.label or item.name) .. " ==") print(data[item.name]); end end