Correct a typo in doc/util.go (#1184)

This commit is contained in:
Felix Yan 2020-08-11 12:17:29 +08:00 committed by GitHub
parent a738b60e52
commit a0b86e58f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,7 @@ import (
) )
// Test to see if we have a reason to print See Also information in docs // Test to see if we have a reason to print See Also information in docs
// Basically this is a test for a parent commend or a subcommand which is // Basically this is a test for a parent command or a subcommand which is
// both not deprecated and not the autogenerated help command. // both not deprecated and not the autogenerated help command.
func hasSeeAlso(cmd *cobra.Command) bool { func hasSeeAlso(cmd *cobra.Command) bool {
if cmd.HasParent() { if cmd.HasParent() {