[bash-completion] Complete filename if `—load-info` is given
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sun, 5 Jan 2014 10:28:01 +0000 (11:28 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sun, 5 Jan 2014 10:28:01 +0000 (11:28 +0100)
devscripts/bash-completion.in

index 3af87a3783a83cddf364e5f39b2bffd10b480950..28bd237278da5c0ade9ed96a4cb722c1b6973cf3 100644 (file)
@@ -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