[alsa-devel] [Pkg-alsa-devel] Bug#658762: arecord: manpage has typos in examples

Elimar Riesebieter riesebie at lxtec.de
Mon Feb 6 13:33:09 CET 2012


forwarded 658762 alsa-devel at alsa-project.org
tags 658762 patch
thanks


* Yann Dirson [120205 22:42 +0100]:

> Package: alsa-utils
> Version: 1.0.24.2-4
> Severity: normal
> 
> The examples in manpage talk about -max-file_time, while the correct
> name is --max-file-time (2 typos packed in one option, at least twice
> in the manpage).

Patch attached

Elimar


-- 
  We all know Linux is great... it does infinite loops in 5 seconds.
        -Linus Torvalds
-------------- next part --------------
diff -Naurd alsa-utils-1.0.24.2.orig/aplay/aplay.1 alsa-utils-1.0.24.2/aplay/aplay.1
--- alsa-utils-1.0.24.2.orig/aplay/aplay.1	2012-01-27 10:15:08.000000000 +0100
+++ alsa-utils-1.0.24.2/aplay/aplay.1	2012-02-06 13:24:30.861630194 +0100
@@ -209,14 +209,14 @@
 .fi
 
 .TP
-\fBarecord \-t wav \-max-file_time 30 mon.wav\fP
+\fBarecord \-t wav \-\-max-file-time 30 mon.wav\fP
 Record from the default audio source in monaural, 8,000 samples
 per second, 8 bits per sample.  Start a new file every
 30 seconds.  File names are mon-nn.wav, where nn increases
 from 01.  The file after mon-99.wav is mon-100.wav.
 
 .TP
-\fBarecord \-f cd \-t wav \-max-file-time 3600 --use-strftime %Y/%m/%d/listen-%H-%M-%v.wav\fP
+\fBarecord \-f cd \-t wav \-\-max-file-time 3600 --use-strftime %Y/%m/%d/listen-%H-%M-%v.wav\fP
 Record in stereo from the default audio source.  Create a new file
 every hour.  The files are placed in directories based on their start dates
 and have names which include their start times and file numbers.
diff -Naurd alsa-utils-1.0.24.2.orig/aplay/arecord.1 alsa-utils-1.0.24.2/aplay/arecord.1
--- alsa-utils-1.0.24.2.orig/aplay/arecord.1	2012-01-27 10:15:08.000000000 +0100
+++ alsa-utils-1.0.24.2/aplay/arecord.1	2012-02-06 13:24:30.861630194 +0100
@@ -209,14 +209,14 @@
 .fi
 
 .TP
-\fBarecord \-t wav \-max-file_time 30 mon.wav\fP
+\fBarecord \-t wav \-\-max-file-time 30 mon.wav\fP
 Record from the default audio source in monaural, 8,000 samples
 per second, 8 bits per sample.  Start a new file every
 30 seconds.  File names are mon-nn.wav, where nn increases
 from 01.  The file after mon-99.wav is mon-100.wav.
 
 .TP
-\fBarecord \-f cd \-t wav \-max-file-time 3600 --use-strftime %Y/%m/%d/listen-%H-%M-%v.wav\fP
+\fBarecord \-f cd \-t wav \-\-max-file-time 3600 --use-strftime %Y/%m/%d/listen-%H-%M-%v.wav\fP
 Record in stereo from the default audio source.  Create a new file
 every hour.  The files are placed in directories based on their start dates
 and have names which include their start times and file numbers.


More information about the Alsa-devel mailing list