diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2025-08-11 12:35:44 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2025-08-11 12:35:44 +0200 |
| commit | 8af1af7350281f5d263b9fbc9779ff7d4cddcf2d (patch) | |
| tree | 6bcd7e9bed0eaec362eebbafd2bd298bee289c87 /main.c | |
| parent | fa1aa7793bbe2a3647435798c56f43945278bcd0 (diff) | |
| download | bidi-8af1af7350281f5d263b9fbc9779ff7d4cddcf2d.tar.gz | |
Added custom color examples and fixed arg parsing bug
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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' }, |
