]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
doc: xgettext: More doc regarding --generated.
authorBruno Haible <bruno@clisp.org>
Mon, 5 May 2025 11:24:57 +0000 (13:24 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 5 May 2025 11:27:37 +0000 (13:27 +0200)
Suggested by Vaclav Slavik <vaclav@slavik.io>
at <https://savannah.gnu.org/bugs/?66916>.

* gettext-tools/doc/xgettext.texi: Mention the --generated option in the
--files-from description.

gettext-tools/doc/xgettext.texi

index 8e6dbda7d0b318962639f87d965ce3e7e570d49e..c2363a3565d9d340e8f72f155d8b5217dee80fb2 100644 (file)
@@ -24,6 +24,9 @@ Input files.
 Read the names of the input files from @var{file} instead of getting
 them from the command line.
 
+Often @var{file} is a temporary file, generated during the build process.
+In this case, you should also pass the @code{--generated=@var{file}} option.
+
 @item -D @var{directory}
 @itemx --directory=@var{directory}
 @opindex -D@r{, @code{xgettext} option}
@@ -791,7 +794,7 @@ and therefore should not have
 an influence on the @samp{POT-Creation-Date} field in the output.
 
 When you specify this option,
-you should also specify one or @code{--reference} options,
+you should also specify one or more @code{--reference} options,
 to indicate the files from which the given @var{file} was generated.
 
 @item --reference=@var{file}