Anton Shestakov <av6@dwimlabs.net>, Sat, 10 Sep 2016 15:14:24 +0800
hglib: more precise luacheck option for "table.unpack or unpack"
examples/version.lua
Permissions: -rw-r--r--
local hglib = require('hglib') local client = hglib.Client.open() local code, o, e, d = client:runcommand('version', '--quiet') print(o:match('%(version (%S+)%)')) print("Couldn't get version: " .. e)