From b085a8a7de3e05c592e3c706a090d750783f561c Mon Sep 17 00:00:00 2001 From: wishfort36 <42300264+wishfort36@users.noreply.github.com> Date: Sat, 11 Aug 2018 18:18:39 +0200 Subject: [PATCH] Update documentation --- doc/help/commands.asciidoc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/help/commands.asciidoc b/doc/help/commands.asciidoc index 3d60cce64..fef4c07f6 100644 --- a/doc/help/commands.asciidoc +++ b/doc/help/commands.asciidoc @@ -910,7 +910,7 @@ The tab index to reload. [[repeat]] === repeat -Syntax: +:repeat 'times' 'command'+ +Syntax: +:repeat [*--mulcount*] 'times' 'command'+ Repeat a given command. @@ -918,6 +918,9 @@ Repeat a given command. * +'times'+: How many times to repeat. * +'command'+: The command to run, with optional args. +==== optional arguments +* +*-c*+, +*--mulcount*+: When given, 'times' will be multiplied with [count]. + ==== note * This command does not split arguments after the last argument and handles quotes literally. * With this command, +;;+ is interpreted literally instead of splitting off a second command.