Browse Source

[bash-completion] Do not use dash in function name (Fixes #1623)

Philipp Hagemeister 12 năm trước cách đây
mục cha
commit
3d2986063c
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      devscripts/bash-completion.in

+ 2 - 2
devscripts/bash-completion.in

@@ -1,4 +1,4 @@
-__youtube-dl()
+__youtube_dl()
 {
     local cur prev opts
     COMPREPLY=()
@@ -15,4 +15,4 @@ __youtube-dl()
     fi
 }
 
-complete -F __youtube-dl youtube-dl
+complete -F __youtube_dl youtube-dl