diff options
author | David Robillard <d@drobilla.net> | 2013-03-24 22:18:21 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-03-24 22:18:21 +0000 |
commit | 93c86e7b19dd804d508ccdd0deaa7a2d76917a6b (patch) | |
tree | 4c322b189514de60a4f76418aed8f16c5b555f13 /src | |
parent | 76449ab42bed82c763c96475ac242e89a5444abc (diff) | |
download | jalv-93c86e7b19dd804d508ccdd0deaa7a2d76917a6b.tar.gz jalv-93c86e7b19dd804d508ccdd0deaa7a2d76917a6b.tar.bz2 jalv-93c86e7b19dd804d508ccdd0deaa7a2d76917a6b.zip |
Fix crash when running "jalv" with bad command line arguments.
git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@5098 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/jalv_console.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jalv_console.c b/src/jalv_console.c index 905332f..0fb3125 100644 --- a/src/jalv_console.c +++ b/src/jalv_console.c @@ -56,7 +56,7 @@ jalv_init(int* argc, char*** argv, JalvOptions* opts) int a = 1; for (; a < *argc && (*argv)[a][0] == '-'; ++a) { if ((*argv)[a][1] == 'h') { - return print_usage((*argv)[0], false); + return print_usage((*argv)[0], true); } else if ((*argv)[a][1] == 'u') { if (++a == *argc) { fprintf(stderr, "Missing argument for -u\n"); |