diff options
author | David Robillard <d@drobilla.net> | 2022-08-10 17:47:38 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-08-17 13:51:14 -0400 |
commit | dd0b73bf4e03359728b671d6a5725be30e05a9e9 (patch) | |
tree | 98e28d68da6dc77a4b63caf03d6274f7ad2c2cfe /src | |
parent | 69b6f73b92156536ecb297dd2c58eb3c40e8fbe5 (diff) | |
download | jalv-dd0b73bf4e03359728b671d6a5725be30e05a9e9.tar.gz jalv-dd0b73bf4e03359728b671d6a5725be30e05a9e9.tar.bz2 jalv-dd0b73bf4e03359728b671d6a5725be30e05a9e9.zip |
Simplify command line usage printing code
Diffstat (limited to 'src')
-rw-r--r-- | src/jalv_console.c | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/src/jalv_console.c b/src/jalv_console.c index 5c129ff..9ce009b 100644 --- a/src/jalv_console.c +++ b/src/jalv_console.c @@ -37,20 +37,21 @@ print_usage(const char* name, bool error) { FILE* const os = error ? stderr : stdout; fprintf(os, "Usage: %s [OPTION...] PLUGIN_URI\n", name); - fprintf(os, "Run an LV2 plugin as a Jack application.\n"); - fprintf(os, " -b SIZE Buffer size for plugin <=> UI communication\n"); - fprintf(os, " -c SYM=VAL Set control value (e.g. \"vol=1.4\")\n"); - fprintf(os, " -d Dump plugin <=> UI communication\n"); - fprintf(os, " -h Display this help and exit\n"); - fprintf(os, " -i Ignore keyboard input, run non-interactively\n"); - fprintf(os, " -l DIR Load state from save directory\n"); - fprintf(os, " -n NAME JACK client name\n"); - fprintf(os, " -p Print control output changes to stdout\n"); - fprintf(os, " -s Show plugin UI if possible\n"); - fprintf(os, " -t Print trace messages from plugin\n"); - fprintf(os, " -U URI Load the UI with the given URI\n"); - fprintf(os, " -V Display version information and exit\n"); - fprintf(os, " -x Exact JACK client name (exit if taken)\n"); + fprintf(os, + "Run an LV2 plugin as a Jack application.\n" + " -b SIZE Buffer size for plugin <=> UI communication\n" + " -c SYM=VAL Set control value (e.g. \"vol=1.4\")\n" + " -d Dump plugin <=> UI communication\n" + " -h Display this help and exit\n" + " -i Ignore keyboard input, run non-interactively\n" + " -l DIR Load state from save directory\n" + " -n NAME JACK client name\n" + " -p Print control output changes to stdout\n" + " -s Show plugin UI if possible\n" + " -t Print trace messages from plugin\n" + " -U URI Load the UI with the given URI\n" + " -V Display version information and exit\n" + " -x Exact JACK client name (exit if taken)\n"); return error ? 1 : 0; } |