Skip to content

A feature-rich command-line audio/video downloader

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

Philipp Hagemeister3d2986063cbb
diff --git a/devscripts/bash-completion.in b/devscripts/bash-completion.in
index bd10f63c2f..ce893fcbe1 100644
--- a/devscripts/bash-completion.in
+++ b/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