Merge remote-tracking branch 'Delapouite/typos'

This commit is contained in:
Maxime Coste 2018-11-19 20:50:59 +11:00
commit 29d4a582d8
3 changed files with 4 additions and 3 deletions

View File

@ -72,7 +72,7 @@ of the file onto the filesystem
*source* <filename> <param>...:: *source* <filename> <param>...::
execute commands in <filename> execute commands in <filename>
parameters are avilable in the sourced script through the `arg` values parameters are available in the sourced script as `%arg{0}`, `%arg{1}`, …
== Clients and Sessions == Clients and Sessions

View File

@ -1304,7 +1304,8 @@ const CommandDesc debug_cmd = {
const CommandDesc source_cmd = { const CommandDesc source_cmd = {
"source", "source",
nullptr, nullptr,
"source <filename> <params>...: execute commands contained in <filename>", "source <filename> <params>...: execute commands contained in <filename>\n"
"parameters are available in the sourced script as %arg{0}, %arg{1}, …",
ParameterDesc{ {}, ParameterDesc::Flags::None, 1, (size_t)-1 }, ParameterDesc{ {}, ParameterDesc::Flags::None, 1, (size_t)-1 },
CommandFlags::None, CommandFlags::None,
CommandHelper{}, CommandHelper{},

View File

@ -2241,7 +2241,7 @@ void register_highlighters()
registry.insert({ registry.insert({
"region", "region",
{ RegionsHighlighter::create_region, { RegionsHighlighter::create_region,
"Parameters: [-match-capture] [-recurse <recurse>] <opening> <closing> <type> <params>..." "Parameters: [-match-capture] [-recurse <recurse>] <opening> <closing> <type> <params>...\n"
"Define a region for a regions highlighter, and apply the given delegate\n" "Define a region for a regions highlighter, and apply the given delegate\n"
"highlighter as defined by <type> and eventual <params>...\n" "highlighter as defined by <type> and eventual <params>...\n"
"The region starts at <begin> match and ends at the first <end>\n" "The region starts at <begin> match and ends at the first <end>\n"