]> git.alsa-project.org Git - alsa-utils.git/commitdiff
amixer: print help and add doc for 'sevents' and 'events' commands
authorJaroslav Kysela <perex@perex.cz>
Mon, 4 Oct 2021 08:40:07 +0000 (10:40 +0200)
committerJaroslav Kysela <perex@perex.cz>
Mon, 4 Oct 2021 08:40:14 +0000 (10:40 +0200)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
amixer/amixer.1
amixer/amixer.c

index 0bac82b131f507334146495d1ba687cd0bf1fb5c..8860ae184e20ba4763c203e6dcfb89612d470b7f 100644 (file)
@@ -80,6 +80,16 @@ of control.
 Shows the card control contents. The identifier has same syntax as for
 the \fIcset\fP command.
 
+.SH ADVANCED COMMANDS
+
+.TP
+\fIsevents\fP
+Shows the events for the simple mixer controls.
+
+.TP
+\fIevents\fP
+Shows the events for the mixer controls.
+
 .SH OPTIONS
 
 .TP
index f9cbb898466218baf2052d1b5face6266bb7c56e..bcdb188b21be6336e5c8bc2eebede5718d0c99a1 100644 (file)
@@ -81,6 +81,9 @@ static int help(void)
        printf("  contents        show contents of all controls for given card\n");
        printf("  cset cID P      set control contents for one control\n");
        printf("  cget cID        get control contents for one control\n");
+       printf("\nAvailable advanced commands:\n");
+       printf("  sevents         show the mixer events for simple controls\n");
+       printf("  events          show the mixer events for simple controls\n");
        return 0;
 }