From af8b48ec0d9f9278e03f4aaae8132bddfe629fee Mon Sep 17 00:00:00 2001 From: Roberto Bonvallet Date: Sun, 14 Mar 2021 17:35:18 -0300 Subject: [PATCH] Make output match the example program --- docs/docs/reference/changed-features/main-functions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/reference/changed-features/main-functions.md b/docs/docs/reference/changed-features/main-functions.md index 926f0b20c223..165bd2efba12 100644 --- a/docs/docs/reference/changed-features/main-functions.md +++ b/docs/docs/reference/changed-features/main-functions.md @@ -27,7 +27,7 @@ This would generate a main program `happyBirthday` that could be called like thi ``` > scala happyBirthday 23 Lisa Peter -Happy 23rd Birthday, Lisa and Peter! +Happy 23rd birthday, Lisa and Peter ``` A `@main` annotated method can be written either at the top-level or in a statically accessible object. The name of the program is in each case the name of the method, without any object prefixes. The `@main` method can have an arbitrary number of parameters.