From 12a39aba706ba9ee3f4358cddaf9ca6a42509ea7 Mon Sep 17 00:00:00 2001 From: Nariman Abdullin Date: Thu, 16 Jun 2022 12:31:24 +0300 Subject: [PATCH] ### What's done: fixed error message (#1367) --- .../kotlin/org/cqfn/diktat/ruleset/generation/Generation.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/generation/Generation.kt b/diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/generation/Generation.kt index 7eed5b91e0..975a7361e1 100644 --- a/diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/generation/Generation.kt +++ b/diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/generation/Generation.kt @@ -33,7 +33,7 @@ private val autoGenerationComment = fun main(args: Array) { require(args.size == 2) { - "Only to arguments are expected" + "Only two arguments are expected: " } generateWarningNames(args[0]) validateYear(args[1])