mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-10 07:45:43 +01:00
axfer: print help text of list subcommand
This commit adds help text of list subcommand. This help text can not be in execution of alias (aplay/arecord) due to program design. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
a4782feac3
commit
c75b96be49
1 changed files with 8 additions and 1 deletions
|
@ -193,7 +193,14 @@ static int list_pcms(snd_pcm_stream_t direction)
|
||||||
|
|
||||||
static void print_help(void)
|
static void print_help(void)
|
||||||
{
|
{
|
||||||
printf("help for list sub-command.\n");
|
printf(
|
||||||
|
"Usage:\n"
|
||||||
|
" axfer list DIRECTION TARGET\n"
|
||||||
|
"\n"
|
||||||
|
" where:\n"
|
||||||
|
" DIRECTION = capture | playback\n"
|
||||||
|
" TARGET = device | pcm\n"
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Backward compatibility to aplay(1).
|
// Backward compatibility to aplay(1).
|
||||||
|
|
Loading…
Reference in a new issue