Imported Upstream version 0.19.7
[platform/upstream/gettext.git] / gettext-tools / doc / msggrep.texi
index 31bc815..229b924 100644 (file)
@@ -200,10 +200,17 @@ Write the .po file using indented style.
 @opindex --no-location@r{, @code{msggrep} option}
 Do not write @samp{#: @var{filename}:@var{line}} lines.
 
-@item --add-location
+@item -n
+@itemx --add-location=@var{type}
 @opindex --add-location@r{, @code{msggrep} 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{msggrep} option}
 Write out a strict Uniforum conforming PO file.  Note that this