amixer: print help and add doc for 'sevents' and 'events' commands

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2021-10-04 10:40:07 +02:00
parent 1a32420577
commit 68473a41c6
2 changed files with 13 additions and 0 deletions

View 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

View 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;
}