]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[bash-completion] Do not use dash in function name (Fixes #1623)
authorPhilipp Hagemeister <phihag@phihag.de>
Fri, 18 Oct 2013 21:13:46 +0000 (23:13 +0200)
committerPhilipp Hagemeister <phihag@phihag.de>
Fri, 18 Oct 2013 21:13:46 +0000 (23:13 +0200)
devscripts/bash-completion.in

index bd10f63c2f2615168a482085ad156a9f4e330ddd..ce893fcbe1a681e535452c35f5b833eea54b2d95 100644 (file)
@@ -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