Skip to contentSkip to conversation

Bug#658762: arecord: manpage has typos in examples

Pkg-alsa-devel Elimar Riesebieter 1 participant 1 message Feb 6, 2012 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

forwarded 658762 [email protected]
tags 658762 patch
thanks

Quoted 7 lines · Yann Dirson

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

Signature · 2 lines
  We all know Linux is great... it does infinite loops in 5 seconds.
        -Linus Torvalds
aplay/aplay.1 +2 -2
diff -Naurd alsa-utils-1.0.24.2.orig/aplay/aplay.1 alsa-utils-1.0.24.2/aplay/aplay.1
@@ -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.
aplay/arecord.1 +2 -2
diff -Naurd alsa-utils-1.0.24.2.orig/aplay/arecord.1 alsa-utils-1.0.24.2/aplay/arecord.1
@@ -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.