diff options
author | Karel Kočí <cynerd@email.cz> | 2016-11-17 17:57:20 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2016-11-17 17:57:20 +0100 |
commit | 33fcbdeef12b2831cff2dc6eee7c5b48e34d0851 (patch) | |
tree | 36fde3beca7695ab55e46910443ec25e64d55ea9 /src | |
parent | ad2a23815a49245117cadbfcb6a59dfd6fc95483 (diff) | |
download | geml-master.tar.gz geml-master.tar.bz2 geml-master.zip |
For now only cppcheck is implemented.
Diffstat (limited to 'src')
-rw-r--r-- | src/args_parser.c | 2 | ||||
-rw-r--r-- | src/utils.c | 1 |
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); } |