From d2e0e0e121bc75b5996102a0c8249d89cdeaa2cb Mon Sep 17 00:00:00 2001 From: Josh Coalson Date: Wed, 6 Jun 2001 19:27:48 +0000 Subject: [PATCH] document the new -o and --delete-input-file options --- doc/documentation.html | 40 ++++++++++++++++++++++++++++------------ doc/news.html | 2 ++ man/flac.sgml | 23 +++++++++++++++++++++-- 3 files changed, 51 insertions(+), 14 deletions(-) diff --git a/doc/documentation.html b/doc/documentation.html index 3f72a58..3177fd5 100644 --- a/doc/documentation.html +++ b/doc/documentation.html @@ -129,19 +129,19 @@

- In any case, if no inputfile is specified, stdin is assumed. If only one inputfile is specified, it may be "-" for stdin. When stdin is used as input, flac will write to stdout. Otherwise flac will perform the desired operation on each input file to similarly named output files (meaning for encoding, the extension will be replaced with ".flac", or appended with ".flac" if the input file has no extension, and for decoding, the extension will be ".wav" for WAVE output and ".raw" for raw output). The original file is not deleted. + In any case, if no inputfile is specified, stdin is assumed. If only one inputfile is specified, it may be "-" for stdin. When stdin is used as input, flac will write to stdout. Otherwise flac will perform the desired operation on each input file to similarly named output files (meaning for encoding, the extension will be replaced with ".flac", or appended with ".flac" if the input file has no extension, and for decoding, the extension will be ".wav" for WAVE output and ".raw" for raw output). The original file is not deleted unless --delete-input-file is specified.

- There are special forms for encoding/decoding from stdin to a file: + If you are encoding/decoding from stdin to a file, you should use the -o option like so:

- which are better than + which are better than: diff --git a/man/flac.sgml b/man/flac.sgml index 013de4b..8b19fe4 100644 --- a/man/flac.sgml +++ b/man/flac.sgml @@ -48,7 +48,7 @@ infile - outfile + ... @@ -109,6 +109,25 @@ + filename + + Force the output file name (usually flac just + changes the extension). + + + + + + + + Automatically delete the input file after a + successful encode or decode. If there was an + error (including a verify error) the input file + is left intact. + + + + samples Skip the specified number of samples at the @@ -399,7 +418,7 @@ - + -- 2.7.4