1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-30 15:12:53 +08:00

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

This commit is contained in:
Filippo Valsorda 2012-12-08 00:37:26 +01:00
parent a9d2f7e894
commit 4c1d273e88
3 changed files with 4 additions and 4 deletions

View File

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

View File

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