From 7f6ea395ee75427f8b9d912afd3a7609af95c9a6 Mon Sep 17 00:00:00 2001 From: Jan Tytgat Date: Tue, 3 Jun 2025 14:14:46 +0200 Subject: [PATCH] Rename function argument for clarity Signed-off-by: Jan Tytgat --- application/commander.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/commander.go b/application/commander.go index 217e1e8..4d01c80 100644 --- a/application/commander.go +++ b/application/commander.go @@ -12,7 +12,7 @@ type Command struct { Configure func(c *cobra.Command) } -func (c Command) Initialize(f func(c *cobra.Command)) *cobra.Command { +func (c Command) Initialize(f func(cmd *cobra.Command)) *cobra.Command { if f != nil { f(c.Command) }