Rename function argument for clarity

Signed-off-by: Jan Tytgat <jan.tytgat@corelayer.eu>
This commit is contained in:
Jan Tytgat
2025-06-03 14:14:46 +02:00
parent f6e2ff6bbe
commit 7f6ea395ee

View File

@ -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)
}