Bug#658762: arecord: manpage has typos in examples
A message that is not in the archive (sent off-list or not yet received): [email protected]
forwarded 658762 [email protected]
tags 658762 patch
thanks
Quoted 7 lines · Yann Dirson
Package: alsa-utils
Version: 1.0.24.2-4
Severity: normalThe 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 Torvaldsaplay/aplay.1 +2 -2
@@ -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
@@ -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.