mirror of
https://github.com/spf13/cobra
synced 2025-05-06 05:17:21 +00:00
Fix too many underscore for __custom_func
This commit is contained in:
parent
fe5e611709
commit
fac49b225d
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ __%[1]s_handle_reply()
|
|||
__%[1]s_custom_func
|
||||
else
|
||||
# otherwise fall back to unqualified for compatibility
|
||||
declare -F ___custom_func >/dev/null && __custom_func
|
||||
declare -F __custom_func >/dev/null && __custom_func
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue