From c7f4a0140187198979b06e81b40167f1f966b9bf Mon Sep 17 00:00:00 2001 From: Shy Date: Thu, 22 Aug 2024 19:45:20 +0200 Subject: [PATCH] Longopt in usage message --- c4mate | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/c4mate b/c4mate index ff27c41..7a84755 100755 --- a/c4mate +++ b/c4mate @@ -10,7 +10,7 @@ USER = nil HOST = "http://mate.labor.koeln.ccc.de" function utf8_decode(str) - -- Replace JSON unicode escape sequences with chars. + -- Replace JSON Unicode escape sequences with chars. if str == nil then return "" end return string.gsub(str, "\\u(%x%x%x%x)", function (s) return utf8.char(tonumber(s, 16)) end) @@ -351,7 +351,7 @@ elseif arg[1] == "-g" or local reason = table.concat(arg, " ", 4) if amount == nil or recipient == nil then print("Error: could not parse amount and/or recipient.") - print("Usage: c4mate -g []") + print("Usage: c4mate --give []") return end