From 8af1af7350281f5d263b9fbc9779ff7d4cddcf2d Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Mon, 11 Aug 2025 12:35:44 +0200 Subject: Added custom color examples and fixed arg parsing bug --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index aa72b33..e895f2a 100644 --- a/main.c +++ b/main.c @@ -528,7 +528,7 @@ static int l_stop_sound(lua_State *L) { static void help(const char *argv0) { printf("Usage: %s [options]\n" "\nAvailable options:\n" - " -r,--run=file.lua run input file\n" + " -f,--file=file.lua run input file\n" " -b,--bundle bundles this folder\n" " -d,--debug prints debug information\n" " -h,--help this help\n" @@ -550,7 +550,7 @@ int main(int argc, char *argv[]) { const char short_options[] = "f:dbhv"; const struct option long_options[] = { - { "file", 1, NULL, 'r' }, + { "file", 1, NULL, 'f' }, { "debug", 0, NULL, 'd' }, { "bundle", 0, NULL, 'b' }, { "help", 0, NULL, 'h' }, -- cgit v1.2.3