summaryrefslogtreecommitdiffhomepage
path: root/kotlin.html.markdown
diff options
context:
space:
mode:
authorHenning Post <henningpost@gmail.com>2018-10-31 11:39:25 -0700
committerGitHub <noreply@github.com>2018-10-31 11:39:25 -0700
commit3aada35d9a938e1af78328c8ee170ac71846fb10 (patch)
tree4fd012590a08723c09bb8d69d3386020ba96d668 /kotlin.html.markdown
parent00ebcdc55c0ec3dd2f6b8dafc190c9a85a26b114 (diff)
Mention parameterless main function
Diffstat (limited to 'kotlin.html.markdown')
-rw-r--r--kotlin.html.markdown4
1 files changed, 3 insertions, 1 deletions
diff --git a/kotlin.html.markdown b/kotlin.html.markdown
index 81242bac..9bc8b420 100644
--- a/kotlin.html.markdown
+++ b/kotlin.html.markdown
@@ -20,7 +20,9 @@ package com.learnxinyminutes.kotlin
/*
The entry point to a Kotlin program is a function named "main".
-The function is passed an array containing any command line arguments.
+The function is passed an array containing any command-line arguments.
+Since Kotlin 1.3 the "main" function can also be defined without
+any parameters.
*/
fun main(args: Array<String>) {
/*