Sat, 08 May 2010 19:28:35 +0100
Support --style options too
xmpp-fingerprint.lua | file | annotate | diff | comparison | revisions |
--- a/xmpp-fingerprint.lua Sat May 08 19:28:19 2010 +0100 +++ b/xmpp-fingerprint.lua Sat May 08 19:28:35 2010 +0100 @@ -56,7 +56,7 @@ -- Process flags -- local function process_args(arg) - local f = arg[1] and arg[1]:match("^%-(%S+)"); + local f = arg[1] and arg[1]:match("^%-%-?(%S+)"); if f then table.remove(arg, 1); if flags[f] then