Update group highlighter docstring to document the passes option

This commit is contained in:
Maxime Coste 2017-05-09 10:02:01 +01:00
parent b109c7be02
commit 59a0841baa

View File

@ -1871,8 +1871,10 @@ void register_highlighters()
registry.insert({ registry.insert({
"group", "group",
{ create_highlighter_group, { create_highlighter_group,
"Parameters: <group name>\n" "Parameters: [-passes <passes>] <group name>\n"
"Creates a named group that can contain other highlighters" } }); "Creates a named group that can contain other highlighters,\n"
"<passes> is a flags(colorize|move|wrap) defaulting to colorize\n"
"which specify what kind of highlighters can be put in the group" } });
registry.insert({ registry.insert({
"flag_lines", "flag_lines",
{ FlagLinesHighlighter::create, { FlagLinesHighlighter::create,