浏览代码

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

Jaime Marquínez Ferrándiz 11 年之前
父节点
当前提交
1c0f31f9f7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      devscripts/bash-completion.in

+ 1 - 1
devscripts/bash-completion.in

@@ -6,7 +6,7 @@ __youtube_dl()
     prev="${COMP_WORDS[COMP_CWORD-1]}"
     prev="${COMP_WORDS[COMP_CWORD-1]}"
     opts="{{flags}}"
     opts="{{flags}}"
     keywords=":ytfavorites :ytrecommended :ytsubscriptions :ytwatchlater :ythistory"
     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"
     diropts="--cache-dir"
 
 
     if [[ ${prev} =~ ${fileopts} ]]; then
     if [[ ${prev} =~ ${fileopts} ]]; then