mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-03 15:37:42 +00:00
[bash-completion] Complete filename if —load-info
is given
This commit is contained in:
parent
41292a3827
commit
1c0f31f9f7
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue