Update 'src/emk.c'

This commit is contained in:
Liam Waldron 2023-05-09 08:58:40 -04:00
parent d517db59db
commit 7046ee7988

View File

@ -5,7 +5,7 @@
#include "emk.h" #include "emk.h"
static void static void
usage() usage(int argc, char *argv[])
{ {
printf("%s - simple build system and scripting language\n", argv[0]); printf("%s - simple build system and scripting language\n", argv[0]);
printf("usage: %s [-h] [-v]\n", argv[0]); printf("usage: %s [-h] [-v]\n", argv[0]);
@ -27,7 +27,7 @@ main(int argc, char *argv[])
while ((opt = getopt(argv,argv, ":if:hv")) != -1) { while ((opt = getopt(argv,argv, ":if:hv")) != -1) {
switch(opt) { switch(opt) {
case 'h': case 'h':
usage(); usage(argc, argv);
break; break;
case 'v': case 'v':
printf(EMK_VERSION "\n"); printf(EMK_VERSION "\n");