Update 'src/emk.c'
This commit is contained in:
parent
d517db59db
commit
7046ee7988
@ -5,7 +5,7 @@
|
||||
#include "emk.h"
|
||||
|
||||
static void
|
||||
usage()
|
||||
usage(int argc, char *argv[])
|
||||
{
|
||||
printf("%s - simple build system and scripting language\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) {
|
||||
switch(opt) {
|
||||
case 'h':
|
||||
usage();
|
||||
usage(argc, argv);
|
||||
break;
|
||||
case 'v':
|
||||
printf(EMK_VERSION "\n");
|
||||
|
Loading…
Reference in New Issue
Block a user