From deb0bc06d343b87a9b05fa9817b49f9dcea6703c Mon Sep 17 00:00:00 2001 From: raphaelpra Date: Thu, 7 Nov 2024 17:05:42 +0100 Subject: [PATCH] Typo in example provided custom_commands.md Misleading type since $name is not a parameter --- 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 0a526c61c45..4dd361aa762 100644 --- a/book/custom_commands.md +++ b/book/custom_commands.md @@ -333,7 +333,7 @@ By default, positional parameters are _required_. Using our previous definition ```nu def greet [name1, name2] { - $"Hello, ($name)!" + $"Hello, ($name1) and ($name2)!" } greet Wei Mei