# HG changeset patch # User Matthew Wild # Date 1273343315 -3600 # Node ID 0677d0506878a6296b79c370656cacc872af2b2d # Parent fb9987d6df5d66e15a329946129ca929a223ec1e Support --style options too diff -r fb9987d6df5d -r 0677d0506878 xmpp-fingerprint.lua --- 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