Update command.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
diff --git a/command.go b/command.go index e7f553c..e2c8e6c 100644 --- a/command.go +++ b/command.go
@@ -649,7 +649,7 @@ return defaultVersionFunc } -// getVersionFunc sreturns the version function for the command going up the +// getVersionFunc returns the version function for the command going up the // command tree if necessary. func (c *Command) getVersionFunc() func(*Command) error { if c.versionFunc != nil {