diff --git a/README.md b/README.md index 2d0a903..13776c7 100644 --- a/README.md +++ b/README.md @@ -2,17 +2,14 @@ ## Requirements -* lua >= 5.3 +* lua * curl * sed * date ## Usage -If no username is given via the "-u" command line flag, c4mate will use the -value of the $USER environment variable as username. - - Usage: c4mate [-u ] [ | -b | -l | +/- | -g []] + c4mate [-u ] [ | -b | -l | +/- | -g []] Display current balance: c4mate Find and buy item (interactive): diff --git a/c4mate b/c4mate index c229b01..7c746f7 100755 --- a/c4mate +++ b/c4mate @@ -189,8 +189,8 @@ function MatePad:print_log(log) event = log[i] if event.method == "buy" or event.method == "recharge" then print(string.format( - "[%s] Bought %s (#%d)", - event.time, event.name, event.parameter + "[%s] Bought %s", + event.time, event.name )) elseif event.method == "set_balance" then print(string.format(