Skip to content

Commit 60cbef1

Browse files
Merge pull request #11735 from rbonvall/patch-1
Make output match the example program
2 parents aba5e02 + af8b48e commit 60cbef1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/reference/changed-features/main-functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ This would generate a main program `happyBirthday` that could be called like thi
2727

2828
```
2929
> scala happyBirthday 23 Lisa Peter
30-
Happy 23rd Birthday, Lisa and Peter!
30+
Happy 23rd birthday, Lisa and Peter
3131
```
3232

3333
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.

0 commit comments

Comments
 (0)