Skip to content

Commit 850756e

Browse files
authored
Typo in example provided custom_commands.md (#1622)
Misleading type since $name is not a parameter
1 parent 3abbad7 commit 850756e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/custom_commands.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ By default, positional parameters are _required_. Using our previous definition
333333

334334
```nu
335335
def greet [name1, name2] {
336-
$"Hello, ($name)!"
336+
$"Hello, ($name1) and ($name2)!"
337337
}
338338
339339
greet Wei Mei

0 commit comments

Comments
 (0)