mirror of
https://github.com/spf13/cobra
synced 2025-05-05 12:57:22 +00:00
Fix typo in bash_completions.go
This commit is contained in:
parent
c1973d31bf
commit
5f584a0a02
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ __%[1]s_handle_go_custom_completion()
|
|||
$filteringCmd
|
||||
elif [ $((directive & shellCompDirectiveFilterDirs)) -ne 0 ]; then
|
||||
# File completion for directories only
|
||||
local subDir
|
||||
local subdir
|
||||
# Use printf to strip any trailing newline
|
||||
subdir=$(printf "%%s" "${out[0]}")
|
||||
if [ -n "$subdir" ]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue