Imported Upstream version 0.19.7
[platform/upstream/gettext.git] / gettext-tools / doc / msgcomm.texi
index 29ef820..ae7c927 100644 (file)
@@ -128,11 +128,17 @@ Write the .po file using indented style.
 Do not write @samp{#: @var{filename}:@var{line}} lines.
 
 @item -n
-@itemx --add-location
+@itemx --add-location=@var{type}
 @opindex -n@r{, @code{msgcomm} option}
 @opindex --add-location@r{, @code{msgcomm} option}
 Generate @samp{#: @var{filename}:@var{line}} lines (default).
 
+The optional @var{type} can be either @samp{full}, @samp{file}, or
+@samp{never}.  If it is not given or @samp{full}, it generates the
+lines with both file name and line number.  If it is @samp{file}, the
+line number part is omitted.  If it is @samp{never}, it completely
+suppresses the lines (same as @code{--no-location}).
+
 @item --strict
 @opindex --strict@r{, @code{msgcomm} option}
 Write out a strict Uniforum conforming PO file.  Note that this