aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-02-18 18:06:22 +0100
committerDavid Robillard <d@drobilla.net>2017-02-18 18:06:22 +0100
commit4d3ca48ea49f5885f279de9c2bdd236309d439bf (patch)
treef97979ab6d8abd504bc70a6d4a296bacf9a5c7a5
parent3a46e861b5b8dbbacb8dd1cec9fa2c69a10b26e0 (diff)
downloadjalv-4d3ca48ea49f5885f279de9c2bdd236309d439bf.tar.gz
jalv-4d3ca48ea49f5885f279de9c2bdd236309d439bf.tar.bz2
jalv-4d3ca48ea49f5885f279de9c2bdd236309d439bf.zip
Sort options in man pages and help output
-rw-r--r--doc/jalv.136
-rw-r--r--doc/jalv.gtk.134
-rw-r--r--src/jalv_console.c12
3 files changed, 41 insertions, 41 deletions
diff --git a/doc/jalv.1 b/doc/jalv.1
index 000ed5a..02ae649 100644
--- a/doc/jalv.1
+++ b/doc/jalv.1
@@ -9,32 +9,36 @@
.SH OPTIONS
.TP
-\fB\-h\fR
-Print the command line options.
+\fB\-b SIZE\fR
+Buffer size for plugin <=> UI communication.
.TP
-\fB\-p\fR
-Print control output changes to stdout.
+\fB\-c SYM=VAL\fR
+Set control value (e.g. "vol=1.4").
.TP
-\fB\-i\fR
-Ignore input on stdin (for background use).
+\fB\-d\fR
+Dump plugin <=> UI communication.
.TP
-\fB\-c SYM=VAL\fR
-Set control value (e.g. "vol=1.4").
+\fB\-h\fR
+Print the command line options.
.TP
-\fB\-u UUID\fR
-UUID for Jack session restoration.
+\fB\-i\fR
+Ignore input on stdin (for background use).
.TP
\fB\-l DIR\fR
Load state from state directory.
.TP
-\fB\-d\fR
-Dump plugin <=> UI communication.
+\fB\-n NAME\fR
+Jack client name
+
+.TP
+\fB\-p\fR
+Print control output changes to stdout.
.TP
\fB\-s\fR
@@ -47,12 +51,8 @@ This option only works when plugins provide a UI that is usable via the non-embe
Print trace messages from plugin
.TP
-\fB\-b SIZE\fR
-Buffer size for plugin <=> UI communication.
-
-.TP
-\fB\-n NAME\fR
-Jack client name
+\fB\-u UUID\fR
+UUID for Jack session restoration.
.TP
\fB\-x\fR
diff --git a/doc/jalv.gtk.1 b/doc/jalv.gtk.1
index 10b507d..5177e1d 100644
--- a/doc/jalv.gtk.1
+++ b/doc/jalv.gtk.1
@@ -1,4 +1,4 @@
-.TH JALV.GTK "10 Oct 2015"
+.TH JALV.GTK "18 Feb 2017"
.SH NAME
.B jalv.gtk \- Run an LV2 plugin as a JACK application (Gtk version).
@@ -9,40 +9,40 @@
.SH OPTIONS
.TP
-\fB\-h\fR, \fB\-\-help\fR
-Print the command line options.
-
-.TP
-\fB\-\-print\-controls\fR
-Print control output changes to stdout.
+\fB\-b SIZE\fR
+Buffer size for plugin <=> UI communication.
.TP
\fB\-c SYM=VAL\fR
Set control value (e.g. "vol=1.4").
.TP
-\fB\-u UUID\fR, \fB\-\-uuid UUID\fR
-UUID for Jack session restoration.
+\fB\-d\fR, \fB\-\-dump\fR
+Dump plugin <=> UI communication.
+
+.TP
+\fB\-g\fR, \fB\-\-generic\-ui\fR
+Use Jalv generic UI and not the plugin UI.
+
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+Print the command line options.
.TP
\fB\-l DIR\fR, \fB\-\-load DIR\fR
Load state from state directory.
.TP
-\fB\-d\fR, \fB\-\-dump\fR
-Dump plugin <=> UI communication.
+\fB\-p\fR, \fB\-\-print\-controls\fR
+Print control output changes to stdout.
.TP
\fB\-t\fR, \fB\-\-trace\fR
Print trace messages from plugin.
.TP
-\fB\-b SIZE\fR
-Buffer size for plugin <=> UI communication.
-
-.TP
-\fB\-g\fR, \fB\-\-generic\-ui\fR
-Use Jalv generic UI and not the plugin UI.
+\fB\-u UUID\fR, \fB\-\-uuid UUID\fR
+UUID for Jack session restoration.
.SH "SEE ALSO"
.BR jalv(1),
diff --git a/src/jalv_console.c b/src/jalv_console.c
index e0e114b..70fe5aa 100644
--- a/src/jalv_console.c
+++ b/src/jalv_console.c
@@ -35,16 +35,16 @@ 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, " -h Display this help and exit\n");
- fprintf(os, " -p Print control output changes to stdout\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, " -u UUID UUID for Jack session restoration\n");
- fprintf(os, " -l DIR Load state from save directory\n");
fprintf(os, " -d Dump plugin <=> UI communication\n");
+ fprintf(os, " -h Display this help and exit\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, " -b SIZE Buffer size for plugin <=> UI communication\n");
- fprintf(os, " -n NAME JACK client name\n");
+ fprintf(os, " -u UUID UUID for Jack session restoration\n");
fprintf(os, " -x Exact JACK client name (exit if taken)\n");
return error ? 1 : 0;
}