aboutsummaryrefslogtreecommitdiffstats
path: root/src/jalv_console.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-07-13 21:24:10 +0000
committerDavid Robillard <d@drobilla.net>2014-07-13 21:24:10 +0000
commit712f209ee60da9ed61f58353b05b6b025d9321c0 (patch)
tree719377180b6f5dd1a89a6363f0a10d747d74c53c /src/jalv_console.c
parentea74eb527d8cb7af2545f960f34e7d3517bd37fa (diff)
downloadjalv-712f209ee60da9ed61f58353b05b6b025d9321c0.tar.gz
jalv-712f209ee60da9ed61f58353b05b6b025d9321c0.tar.bz2
jalv-712f209ee60da9ed61f58353b05b6b025d9321c0.zip
Add option to print control output changes to stdout.
Update man pages and console jalv help output for new options. git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@5410 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/jalv_console.c')
-rw-r--r--src/jalv_console.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/jalv_console.c b/src/jalv_console.c
index c13880b..f3fafbb 100644
--- a/src/jalv_console.c
+++ b/src/jalv_console.c
@@ -33,7 +33,8 @@ print_usage(const char* name, bool error)
fprintf(os, "Usage: %s [OPTION...] PLUGIN_URI\n", name);
fprintf(os, "Run an LV2 plugin as a Jack application.\n");
fprintf(os, " -h Display this help and exit\n");
- fprintf(os, " -s Show non-embedded UI if possible\n");
+ fprintf(os, " -p Print control output changes to stdout\n");
+ 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");
@@ -69,6 +70,8 @@ jalv_init(int* argc, char*** argv, JalvOptions* opts)
return print_usage((*argv)[0], true);
} else if ((*argv)[a][1] == 's') {
opts->show_ui = true;
+ } else if ((*argv)[a][1] == 'p') {
+ opts->print_controls = true;
} else if ((*argv)[a][1] == 'u') {
if (++a == *argc) {
fprintf(stderr, "Missing argument for -u\n");