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

@@ -10,17 +10,17 @@ internal object Help : ConsoleCommand {
override fun execute(args: Array<String>) {
if (args.size == 1) {
for (i in 1..6) Echo.execute(Lang["HELP_OTF_MAIN_$i"])
for (i in 1..6) Echo(Lang["HELP_OTF_MAIN_$i"])
}
else if (args[1].toLowerCase() == "slow") {
for (i in 1..4) Echo.execute(Lang["HELP_OTF_SLOW_$i"])
for (i in 1..4) Echo(Lang["HELP_OTF_SLOW_$i"])
}
else {
for (i in 1..6) Echo.execute(Lang["HELP_OTF_MAIN_$i"])
for (i in 1..6) Echo(Lang["HELP_OTF_MAIN_$i"])
}
}
override fun printUsage() {
Echo.execute("Prints some utility functions assigned to function row of the keyboard.")
Echo("Prints some utility functions assigned to function row of the keyboard.")
}
}