[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1122387: apt-file: Bash suggests filenames for the first argument



This issue disappears when I change the last line of
/usr/share/bash-completion/completions/apt-file from:
> complete -f -F _apt_file apt-file
to:
> complete -F _apt_file apt-file

After this fix, completion works for the usual apt-file actions.
However, it seems that completion hasn't been implemented for several
features of apt-file (such as list-indices or --filter-suites). Maybe
the purpose of the -f flag is to provide fallback completion for them?

--
Samuel Plavec


Reply to: