Browse Source

[bash-completion] Complete filename if `—load-info` is given

master
Jaime Marquínez Ferrándiz 11 years ago
parent
commit
1c0f31f9f7
1 changed files with 1 additions and 1 deletions
  1. 2
      devscripts/bash-completion.in

2
devscripts/bash-completion.in

@ -6,7 +6,7 @@ __youtube_dl()
prev="${COMP_WORDS[COMP_CWORD-1]}"
opts="{{flags}}"
keywords=":ytfavorites :ytrecommended :ytsubscriptions :ytwatchlater :ythistory"
fileopts="-a|--batch-file|--download-archive|--cookies"
fileopts="-a|--batch-file|--download-archive|--cookies|--load-info"
diropts="--cache-dir"
if [[ ${prev} =~ ${fileopts} ]]; then

Loading…
Cancel
Save