wget does use filenames (e.g. with -O) (Alioth: #312458).

This commit is contained in:
Ville Skyttä 2010-04-13 18:40:14 +03:00
parent c89152b6b2
commit 855edbfdb7
2 changed files with 4 additions and 4 deletions

View File

@ -27,8 +27,8 @@ bash-completion (2.x)
* Remove many unnecessary short option completions where long ones exist. * Remove many unnecessary short option completions where long ones exist.
* Improve chsh, chgrp, chown, configure, cvs, gkrellm, gzip, iconv, lftp, * Improve chsh, chgrp, chown, configure, cvs, gkrellm, gzip, iconv, lftp,
look, make, man, mdadm, modprobe, mplayer, mysqladmin, perldoc, rsync, look, make, man, mdadm, modprobe, mplayer, mysqladmin, perldoc, rsync,
screen, service, scp, ssh, sshfs, update-alternatives, vncviewer, yp-tools, screen, service, scp, ssh, sshfs, update-alternatives, vncviewer, wget,
and general hostname completions. yp-tools, and general hostname completions.
* Add abook and wtf completion, based on work by Raphaël Droz. * Add abook and wtf completion, based on work by Raphaël Droz.
* Add cvsps, dragon, fusermount, jarsigner, k3b, lftpget, pm-utils, rtcwake, * Add cvsps, dragon, fusermount, jarsigner, k3b, lftpget, pm-utils, rtcwake,
pack200, unpack200, pbzip2, pbunzip2, pbzcat, pigz and unpigz completions. pack200, unpack200, pbzip2, pbunzip2, pbzcat, pigz and unpigz completions.

View File

@ -1776,12 +1776,12 @@ for i in a2ps autoconf automake bc gprof ld nm objcopy objdump readelf strip \
touch vdir awk gperf grep grub indent less m4 sed shar date \ touch vdir awk gperf grep grub indent less m4 sed shar date \
tee who texindex cat csplit cut expand fmt fold head \ tee who texindex cat csplit cut expand fmt fold head \
md5sum nl od paste pr ptx sha1sum sort split tac tail tr unexpand \ md5sum nl od paste pr ptx sha1sum sort split tac tail tr unexpand \
uniq wc ldd bash id irb mkdir rmdir; do uniq wc ldd bash id irb mkdir rmdir wget; do
have $i && complete -F _longopt -o filenames $i have $i && complete -F _longopt -o filenames $i
done done
# These commands do not use filenames, so '-o filenames' is not needed. # These commands do not use filenames, so '-o filenames' is not needed.
for i in env netstat seq uname units wget; do for i in env netstat seq uname units; do
have $i && complete -F _longopt -o default $i have $i && complete -F _longopt -o default $i
done done
unset i unset i