aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS6
-rw-r--r--src/jalv_console.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 4a38cbf..ebd0359 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,9 @@
+jalv (1.4.1) unstable;
+
+ * Fix crash when running "jalv" with bad command line arguments
+
+ -- David Robillard <d@drobilla.net> Sun, 24 Mar 2013 18:18:08 -0400
+
jalv (1.4.0) stable;
* Send time information to plugin when Jack tempo changes
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");