aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/args_parser.c2
-rw-r--r--src/utils.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/args_parser.c b/src/args_parser.c
index be55e43..0de5ca2 100644
--- a/src/args_parser.c
+++ b/src/args_parser.c
@@ -26,7 +26,7 @@
#include "io.h"
const char *help_text =
- "Usage: geml [OPTIONS]... INPUT_FILE\n"
+ "Usage: geml [OPTION]... INPUT_FILE\n"
" General extendable macro language processing tool.\n"
"\n"
"Options:\n"
diff --git a/src/utils.c b/src/utils.c
index c545961..c52ed2f 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -62,6 +62,7 @@ void print_message(const char *file, const int line, enum Verbosity level, const
va_list args;
va_start(args, msg);
vfprintf(stderr, msg, args);
+ va_end(args);
fputs("\n", stderr);
}