added -f mandatory flag to usage msg
authorViktor Sinagl <vsinagl@c2r7s6.42prague.com>
Tue, 14 Jan 2025 17:23:50 +0000 (18:23 +0100)
committerViktor Sinagl <vsinagl@c2r7s6.42prague.com>
Tue, 14 Jan 2025 17:23:50 +0000 (18:23 +0100)
src/utils.c

index 4370288f451ec103f8e7b50e362d35ea4ae9808b..9f26ea53733da596fe1cd53f8411b67c6f143a41 100644 (file)
@@ -18,7 +18,7 @@
 void   print_msg(char *msg)
 {
        printf("%s\n", msg);
-       printf("Usage: miniRT [options] [file.rt]\n");
+       printf("Usage: miniRT [options] -f [file.rt]\n");
        printf("Options:\n");
        printf("\t-w [int] (width) - set the width of the window\n");
        printf("\t-h [int] (height) - set the height of the window\n");