it's curious but bash-completion is with - and not _

pull/8/head
Filippo Valsorda 12 years ago
parent a9d2f7e894
commit 4c1d273e88

@ -38,8 +38,8 @@ README.txt: README.md
youtube-dl.1: README.md youtube-dl.1: README.md
pandoc -s -f markdown -t man README.md -o youtube-dl.1 pandoc -s -f markdown -t man README.md -o youtube-dl.1
youtube-dl.bash-completion: README.md devscripts/bash_completion.template youtube-dl.bash-completion: youtube_dl/*.py devscripts/bash-completion.template
python devscripts/bash_completion.py python devscripts/bash-completion.py
youtube-dl.tar.gz: all youtube-dl.tar.gz: all
tar -czf youtube-dl.tar.gz -s "|^./|./youtube-dl/|" \ tar -czf youtube-dl.tar.gz -s "|^./|./youtube-dl/|" \

@ -6,8 +6,8 @@ import sys
sys.path.append(dirn(dirn((os.path.abspath(__file__))))) sys.path.append(dirn(dirn((os.path.abspath(__file__)))))
import youtube_dl import youtube_dl
BASH_COMPLETION_FILE = "youtube-dl.bash_completion" BASH_COMPLETION_FILE = "youtube-dl.bash-completion"
BASH_COMPLETION_TEMPLATE = "devscripts/bash_completion.template" BASH_COMPLETION_TEMPLATE = "devscripts/bash-completion.template"
def build_completion(opt_parser): def build_completion(opt_parser):
opts_flag = [] opts_flag = []
Loading…
Cancel
Save