From fcb570eb7c855509efd1be1b2bb68c818f1865dc Mon Sep 17 00:00:00 2001 From: Lars Francke Date: Fri, 6 Dec 2024 09:15:36 +0100 Subject: [PATCH] Fix minor typo --- book/custom_commands.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/custom_commands.md b/book/custom_commands.md index 4dd361aa762..4e55a5d14d3 100644 --- a/book/custom_commands.md +++ b/book/custom_commands.md @@ -642,7 +642,7 @@ multi-greet Elin Lars Erik # => Hello, Erik! ``` -We could call the above definition of the `greet` command with any number of arguments, including none at all. All of the arguments are collected into `$name` as a list. +We could call the above definition of the `greet` command with any number of arguments, including none at all. All of the arguments are collected into `$names` as a list. Rest parameters can be used together with positional parameters: