Echo().execute(message) is now just Echo(message)

Former-commit-id: 851e141fc91b170190d6027f42f59906dda0f31f
Former-commit-id: 03dbb9da1788e1c50e84ae33d95f76194ad9a08d
This commit is contained in:
Song Minjae
2016-12-14 12:40:53 +09:00
parent 1dd156d172
commit 7078ecfed4
32 changed files with 127 additions and 121 deletions

View File

@@ -9,11 +9,11 @@ import net.torvald.terrarum.langpack.Lang
internal object Version : ConsoleCommand {
override fun execute(args: Array<String>) {
Echo.execute("${Terrarum.NAME} ${Terrarum.VERSION_STRING}")
Echo.execute("Polyglot language pack version ${Lang.POLYGLOT_VERSION}")
Echo("${Terrarum.NAME} ${Terrarum.VERSION_STRING}")
Echo("Polyglot language pack version ${Lang.POLYGLOT_VERSION}")
}
override fun printUsage() {
Echo.execute("Prints out current version of the application")
Echo("Prints out current version of the application")
}
}