Clarify documentation a bit

This commit is contained in:
Kovid Goyal 2020-06-16 09:53:08 +05:30
parent a3ecc79f0d
commit 19df7b94ea
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -419,10 +419,11 @@ programs.
--type --type
default=url default=url
choices=url,regex,path,line,hash,word,linenum choices=url,regex,path,line,hash,word,linenum
The type of text to search for. A value of :code:`linenum` looks for error messages The type of text to search for. A value of :code:`linenum` is special, it looks
using the pattern specified with :option:`--regex`, which must have the named groups, for error messages using the pattern specified with :option:`--regex`, which
path and line. If not specified, will look for :code:`path:line`. must have the named groups, :code:`path` and :code:`line`. If not specified,
The :option:`--linenum-action` option controls what to do with the selected error message. will look for :code:`path:line`. The :option:`--linenum-action` option
controls what to do with the selected error message, other options are ignored.
--regex --regex