From 7d823438bb84180a8af348760218400843048b97 Mon Sep 17 00:00:00 2001 From: Silvin Lubecki Date: Tue, 2 Apr 2019 16:17:53 +0200 Subject: [PATCH] Disable unparam linter: cli/required.go:102:16: `pluralize` - `word` always receives `"argument"` (unparam) Signed-off-by: Silvin Lubecki --- cli/required.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cli/required.go b/cli/required.go index 33a4673546..cce81c86ab 100644 --- a/cli/required.go +++ b/cli/required.go @@ -99,6 +99,7 @@ func ExactArgs(number int) cobra.PositionalArgs { } } +//nolint: unparam func pluralize(word string, number int) string { if number == 1 { return word