diff options
author | David Robillard <d@drobilla.net> | 2015-10-10 18:11:53 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-10-10 18:11:53 +0000 |
commit | 22ea5330650ab1f3cd59367f3ed63e1009a4d736 (patch) | |
tree | 304ab810f8778f164c3703945576fc5268bc53e2 /src/jalv_console.c | |
parent | fecfdd11d369541bafdd89d23871cacc0f80b1b4 (diff) | |
download | jalv-22ea5330650ab1f3cd59367f3ed63e1009a4d736.tar.gz jalv-22ea5330650ab1f3cd59367f3ed63e1009a4d736.tar.bz2 jalv-22ea5330650ab1f3cd59367f3ed63e1009a4d736.zip |
Add option to enable plugin trace log messages
git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@5764 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/jalv_console.c')
-rw-r--r-- | src/jalv_console.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/jalv_console.c b/src/jalv_console.c index b17779b..aa47483 100644 --- a/src/jalv_console.c +++ b/src/jalv_console.c @@ -37,7 +37,8 @@ print_usage(const char* name, bool error) fprintf(os, " -c SYM=VAL Set control value (e.g. \"vol=1.4\")\n"); fprintf(os, " -u UUID UUID for Jack session restoration\n"); fprintf(os, " -l DIR Load state from save directory\n"); - fprintf(os, " -d DIR Dump plugin <=> UI communication\n"); + fprintf(os, " -d Dump plugin <=> UI communication\n"); + fprintf(os, " -t Print trace messages from plugin\n"); fprintf(os, " -b SIZE Buffer size for plugin <=> UI communication\n"); fprintf(os, " -n NAME JACK client name\n"); fprintf(os, " -x Exact JACK client name (exit if taken)\n"); @@ -103,6 +104,8 @@ jalv_init(int* argc, char*** argv, JalvOptions* opts) opts->controls[n_controls] = NULL; } else if ((*argv)[a][1] == 'd') { opts->dump = true; + } else if ((*argv)[a][1] == 't') { + opts->trace = true; } else if ((*argv)[a][1] == 'n') { if (++a == *argc) { fprintf(stderr, "Missing argument for -n\n"); |