X-Git-Url: http://git.bitcoin.ninja/index.cgi?p=youtube-dl;a=blobdiff_plain;f=devscripts%2Fbash-completion.in;h=28bd237278da5c0ade9ed96a4cb722c1b6973cf3;hp=cc469366d180639cb9b21676395ce1c4ea95ef77;hb=6cd452acffe8d79c895a2ebd0346e2ba7f9e112f;hpb=c1f9c59d11c0a96be7caa0b4c6e90d900e3161c6 diff --git a/devscripts/bash-completion.in b/devscripts/bash-completion.in index cc469366d..28bd23727 100644 --- a/devscripts/bash-completion.in +++ b/devscripts/bash-completion.in @@ -1,12 +1,12 @@ __youtube_dl() { - local cur prev opts fileopts diropts + local cur prev opts fileopts diropts keywords COMPREPLY=() cur="${COMP_WORDS[COMP_CWORD]}" prev="${COMP_WORDS[COMP_CWORD-1]}" opts="{{flags}}" - keywords=":ytfavorites :ytrecommended :ytsubscriptions :ytwatchlater" - fileopts="-a|--batch-file|--download-archive|--cookies" + keywords=":ytfavorites :ytrecommended :ytsubscriptions :ytwatchlater :ythistory" + fileopts="-a|--batch-file|--download-archive|--cookies|--load-info" diropts="--cache-dir" if [[ ${prev} =~ ${fileopts} ]]; then