]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
doc: Discourage --omit-header.
authorBruno Haible <bruno@clisp.org>
Tue, 10 Sep 2024 09:28:28 +0000 (11:28 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 10 Sep 2024 11:41:48 +0000 (13:41 +0200)
* gettext-tools/doc/msgcomm.texi: Document the effects of --omit-header.
* gettext-tools/doc/xgettext.texi: Likewise.

gettext-tools/doc/msgcomm.texi
gettext-tools/doc/xgettext.texi

index df77b3ac7394859abd836271bec6bbd434626ddb..f99e21ce0100b611e84e2eaab8e9c0f4209e4448 100644 (file)
@@ -1,5 +1,5 @@
 @c This file is part of the GNU gettext manual.
-@c Copyright (C) 1995-2019 Free Software Foundation, Inc.
+@c Copyright (C) 1995-2024 Free Software Foundation, Inc.
 @c See the file gettext.texi for copying conditions.
 
 @pindex msgcomm
@@ -192,6 +192,8 @@ Sort output by file location.
 @item --omit-header
 @opindex --omit-header@r{, @code{msgcomm} option}
 Don't write header with @samp{msgid ""} entry.
+Note: Using this option may lead to an error in subsequent operations
+if the output contains non-ASCII characters.
 
 @end table
 
index 5cb6c114ec9fe6cf2f2c36788fe8b2a2c5cbc87e..cb3d3dff945ac18b73be12c167d6254852ec8fc5 100644 (file)
@@ -559,6 +559,8 @@ Sort output by file location.
 @item --omit-header
 @opindex --omit-header@r{, @code{xgettext} option}
 Don't write header with @samp{msgid ""} entry.
+Note: Using this option may lead to an error in subsequent operations
+if the output contains non-ASCII characters.
 
 @cindex testing @file{.po} files for equivalence
 This is useful for testing purposes because it eliminates a source